oklchcolor

Amber Warning

Warning & Amber

High-luminance amber warning scale with zero perceptual muddying, meeting strict WCAG contrast against dark backgrounds.

About the Amber Warning palette

High-luminance amber warning scale with zero perceptual muddying, meeting strict WCAG contrast against dark backgrounds. The scale is anchored at hue 75 in OKLCH, so every step keeps the same hue while lightness moves in perceptually even steps from 50 to 950. The 500 step (#946407) is your base color. Shades 500-950 pass WCAG 2.1 AA against white and shades 50, 100, 200, 300, 400 pass against black, so use the light end for backgrounds and the dark end for text on light surfaces (or vice versa). Each value is copy-ready as oklch(), HEX, RGB or HSL.

Shade StepsCopy a value, or save it to a variable of your own
Amber Warning scale

11 colors · click a card to copy

cart writes to --color-amber-warning-*

50
oklch(97.0% 0.024 75.0)
100
oklch(93.0% 0.056 75.0)
200
oklch(86.0% 0.117 75.0)
300
oklch(72.0% 0.180 75.0)
400
oklch(64.0% 0.132 75.0)
500
oklch(54.0% 0.112 75.0)
600
oklch(45.0% 0.093 75.0)
700
oklch(37.0% 0.076 75.0)
800
oklch(28.0% 0.058 75.0)
900
oklch(20.0% 0.041 75.0)
950
oklch(13.0% 0.027 75.0)

Shade Step Breakdown (50 to 950)

SwatchShade StepOKLCH CSS ValuesRGB FallbackRGBHSLWCAG on BlackWCAG on WhiteGamut
50oklch(97.0% 0.024 75.0)#fff3e4rgb(255, 243, 228)hsl(34.12, 98.37%, 94.7%)19.19:11.09:1sRGB
100oklch(93.0% 0.056 75.0)#ffe3bfrgb(255, 227, 191)hsl(34.33, 98.56%, 87.34%)16.99:11.24:1sRGB
200oklch(86.0% 0.117 75.0)#fec675rgb(254, 198, 117)hsl(35.3, 98.71%, 72.85%)13.55:11.55:1sRGB
300oklch(72.0% 0.180 75.0)#db9400rgb(219, 148, 0)hsl(40.61, 99.91%, 42.97%)8.25:12.55:1sRGB
400oklch(64.0% 0.132 75.0)#ba7e0crgb(186, 126, 12)hsl(39.4, 87.8%, 38.89%)6.08:13.46:1sRGB
500oklch(54.0% 0.112 75.0)#946407rgb(148, 100, 7)hsl(39.36, 90.43%, 30.46%)4.09:15.14:1sRGB
600oklch(45.0% 0.093 75.0)#734c04rgb(115, 76, 4)hsl(39.13, 92.78%, 23.38%)2.76:17.6:1sRGB
700oklch(37.0% 0.076 75.0)#573902rgb(87, 57, 2)hsl(38.62, 94.76%, 17.51%)1.99:110.55:1sRGB
800oklch(28.0% 0.058 75.0)#392401rgb(57, 36, 1)hsl(37.3, 96.54%, 11.42%)1.43:114.72:1sRGB
900oklch(20.0% 0.041 75.0)#211300rgb(33, 19, 0)hsl(34.14, 97.63%, 6.5%)1.16:118.14:1sRGB
950oklch(13.0% 0.027 75.0)#0d0600rgb(13, 6, 0)hsl(25.96, 98.54%, 2.63%)1.04:120.13:1sRGB

Tailwind v4 @theme Snippet for Amber Warning

Copy into global.css
        @theme {
  --color-amber-warning-50: oklch(97.0% 0.024 75.0);
  --color-amber-warning-100: oklch(93.0% 0.056 75.0);
  --color-amber-warning-200: oklch(86.0% 0.117 75.0);
  --color-amber-warning-300: oklch(72.0% 0.180 75.0);
  --color-amber-warning-400: oklch(64.0% 0.132 75.0);
  --color-amber-warning-500: oklch(54.0% 0.112 75.0);
  --color-amber-warning-600: oklch(45.0% 0.093 75.0);
  --color-amber-warning-700: oklch(37.0% 0.076 75.0);
  --color-amber-warning-800: oklch(28.0% 0.058 75.0);
  --color-amber-warning-900: oklch(20.0% 0.041 75.0);
  --color-amber-warning-950: oklch(13.0% 0.027 75.0);
}

Convert Amber Warning shades

Working with these shades in another format? Use the matching converter — the same values you see above, converted instantly with live gamut detection.

Related palettes