#A8AF33#A8AF33
#A8AF33 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.6% C 0.143 H 112.7°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A8AF33 |
|---|---|
| RGB | rgb(168, 175, 51) |
| HSL | hsl(63, 55%, 44%) |
| HSV | hsv(63, 71%, 69%) |
| CMYK | cmyk(4%, 0%, 70.9%, 31.4%) |
| CIE-LAB | lab(68.91, -17.89, 59.24) |
| CIE-LCH | lch(68.91, 61.88, 106.81°) |
| OKLab | oklab(72.59% -0.055 0.1318) |
| OKLCH | oklch(72.59% 0.143 112.7) |
| XYZ | xyz(32.0769, 39.2245, 9.0127) |
| Luminance | 0.3922 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.39
Puke Green
#9AAE07
ΔE00 3.53
Vomit
#A2A415
ΔE00 3.69
Puke
#A5A502
ΔE00 4.12
Pea Soup Green
#94A617
ΔE00 4.20
Barf Green
#94AC02
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8AF33 #3A33AF
analogous
#AF7833 #A8AF33 #6AAF33
triadic
#A8AF33 #33A8AF #AF33A8
tetradic
#A8AF33 #33AF78 #3A33AF #AF336A
square
#A8AF33 #33AF78 #3A33AF #AF336A
split-complementary
#A8AF33 #336AAF #7833AF
monochromatic
#4D5017 #7B8025 #A8AF33 #C6CD52 #D6DB82
Accessibility & contrast
On white
2.37
#A8AF33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#A8AF33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8AF33
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8AF33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8AF33 | 1.00 | 2.37 | 8.84 | 8.84 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA71E
Deuteranopia (green-blind)
#BCAA3C
Tritanopia (blue-blind)
#B3A497
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a8af33; /* rgb */ color: rgb(168, 175, 51); /* oklch */ color: oklch(72.6% 0.143 112.7);
Tailwind
colors: {
custom: {
50: '#c5c673',
500: '#a8af33',
950: '#000000',
},
}SCSS
$custom: #a8af33; $custom-light: #c5c673; $custom-dark: #000000;
JSON
{
"hex": "#a8af33",
"rgb": {
"r": 168,
"g": 175,
"b": 51
},
"hsl": {
"h": 63.387,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.72587,
"c": 0.14277,
"h": 112.7
},
"luminance": 0.39224
}Semantic roles & 50–950 ramp
primary
#A8AF33
secondary
#7E7AC4
accent
#4ADE52
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B