#A8AE31#A8AE31
#A8AE31 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.3% C 0.143 H 112.2°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A8AE31 |
|---|---|
| RGB | rgb(168, 174, 49) |
| HSL | hsl(63, 56%, 44%) |
| HSV | hsv(63, 72%, 68%) |
| CMYK | cmyk(3.4%, 0%, 71.8%, 31.8%) |
| CIE-LAB | lab(68.62, -17.49, 59.69) |
| CIE-LCH | lch(68.62, 62.20, 106.33°) |
| OKLab | oklab(72.35% -0.054 0.1324) |
| OKLCH | oklch(72.35% 0.143 112.2) |
| XYZ | xyz(31.8399, 38.8194, 8.7208) |
| Luminance | 0.3882 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.33
Mustard Green
#A8B504
ΔE00 3.45
Puke Green
#9AAE07
ΔE00 3.58
Puke
#A5A502
ΔE00 3.75
Pea Soup Green
#94A617
ΔE00 4.15
Barf Green
#94AC02
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8AE31 #3731AE
analogous
#AE7531 #A8AE31 #69AE31
triadic
#A8AE31 #31A8AE #AE31A8
tetradic
#A8AE31 #31AE75 #3731AE #AE3169
square
#A8AE31 #31AE75 #3731AE #AE3169
split-complementary
#A8AE31 #3169AE #7531AE
monochromatic
#4C4E16 #7A7E24 #A8AE31 #C7CD4F #D6DB7F
Accessibility & contrast
On white
2.40
#A8AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#A8AE31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8AE31
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8AE31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8AE31 | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA61A
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#B4A396
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a8ae31; /* rgb */ color: rgb(168, 174, 49); /* oklch */ color: oklch(72.3% 0.143 112.2);
Tailwind
colors: {
custom: {
50: '#c5c672',
500: '#a8ae31',
950: '#000000',
},
}SCSS
$custom: #a8ae31; $custom-light: #c5c672; $custom-dark: #000000;
JSON
{
"hex": "#a8ae31",
"rgb": {
"r": 168,
"g": 174,
"b": 49
},
"hsl": {
"h": 62.88,
"s": 56.054,
"l": 43.725
},
"oklch": {
"l": 0.72348,
"c": 0.14296,
"h": 112.2
},
"luminance": 0.38819
}Semantic roles & 50–950 ramp
primary
#A8AE31
secondary
#7B77C4
accent
#48DF50
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B