#A7AE31#A7AE31
#A7AE31 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.3% C 0.143 H 112.7°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AE31 |
|---|---|
| RGB | rgb(167, 174, 49) |
| HSL | hsl(63, 56%, 44%) |
| HSV | hsv(63, 72%, 68%) |
| CMYK | cmyk(4%, 0%, 71.8%, 31.8%) |
| CIE-LAB | lab(68.54, -17.92, 59.58) |
| CIE-LCH | lch(68.54, 62.22, 106.74°) |
| OKLab | oklab(72.27% -0.0552 0.1322) |
| OKLCH | oklch(72.27% 0.143 112.7) |
| XYZ | xyz(31.6278, 38.7101, 8.7108) |
| Luminance | 0.3871 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.40
Vomit
#A2A415
ΔE00 3.41
Mustard Green
#A8B504
ΔE00 3.43
Puke
#A5A502
ΔE00 3.87
Pea Soup Green
#94A617
ΔE00 3.96
Barf Green
#94AC02
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AE31 #3831AE
analogous
#AE7631 #A7AE31 #68AE31
triadic
#A7AE31 #31A7AE #AE31A7
tetradic
#A7AE31 #31AE76 #3831AE #AE3168
square
#A7AE31 #31AE76 #3831AE #AE3168
split-complementary
#A7AE31 #3168AE #7631AE
monochromatic
#4B4E16 #797E24 #A7AE31 #C6CD4F #D6DB7F
Accessibility & contrast
On white
2.40
#A7AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.74
#A7AE31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AE31
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AE31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AE31 | 1.00 | 2.40 | 8.74 | 8.74 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA61A
Deuteranopia (green-blind)
#BBA93B
Tritanopia (blue-blind)
#B2A396
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a7ae31; /* rgb */ color: rgb(167, 174, 49); /* oklch */ color: oklch(72.3% 0.143 112.7);
Tailwind
colors: {
custom: {
50: '#c4c672',
500: '#a7ae31',
950: '#000000',
},
}SCSS
$custom: #a7ae31; $custom-light: #c4c672; $custom-dark: #000000;
JSON
{
"hex": "#a7ae31",
"rgb": {
"r": 167,
"g": 174,
"b": 49
},
"hsl": {
"h": 63.36,
"s": 56.054,
"l": 43.725
},
"oklch": {
"l": 0.72265,
"c": 0.14322,
"h": 112.7
},
"luminance": 0.38709
}Semantic roles & 50–950 ramp
primary
#A7AE31
secondary
#7B77C4
accent
#48DF51
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B