#A8AF2F#A8AF2F
#A8AF2F is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.6% C 0.145 H 112.6°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A8AF2F |
|---|---|
| RGB | rgb(168, 175, 47) |
| HSL | hsl(63, 58%, 44%) |
| HSV | hsv(63, 73%, 69%) |
| CMYK | cmyk(4%, 0%, 73.1%, 31.4%) |
| CIE-LAB | lab(68.89, -18.09, 60.66) |
| CIE-LCH | lch(68.89, 63.30, 106.61°) |
| OKLab | oklab(72.56% -0.0559 0.1341) |
| OKLCH | oklch(72.56% 0.145 112.6) |
| XYZ | xyz(31.9925, 39.1907, 8.5680) |
| Luminance | 0.3919 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.07
Puke Green
#9AAE07
ΔE00 3.34
Vomit
#A2A415
ΔE00 3.52
Puke
#A5A502
ΔE00 3.87
Pea Soup Green
#94A617
ΔE00 4.15
Snot
#ACBB0D
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8AF2F #362FAF
analogous
#AF762F #A8AF2F #68AF2F
triadic
#A8AF2F #2FA8AF #AF2FA8
tetradic
#A8AF2F #2FAF76 #362FAF #AF2F68
square
#A8AF2F #2FAF76 #362FAF #AF2F68
split-complementary
#A8AF2F #2F68AF #762FAF
monochromatic
#4B4F15 #7A7F22 #A8AF2F #C8CF4C #D7DC7C
Accessibility & contrast
On white
2.38
#A8AF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#A8AF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8AF2F
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8AF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8AF2F | 1.00 | 2.38 | 8.84 | 8.84 |
| #FFFFFF | 2.38 | 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)
#BCA715
Deuteranopia (green-blind)
#BDA939
Tritanopia (blue-blind)
#B4A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a8af2f; /* rgb */ color: rgb(168, 175, 47); /* oklch */ color: oklch(72.6% 0.145 112.6);
Tailwind
colors: {
custom: {
50: '#c5c671',
500: '#a8af2f',
950: '#000000',
},
}SCSS
$custom: #a8af2f; $custom-light: #c5c671; $custom-dark: #000000;
JSON
{
"hex": "#a8af2f",
"rgb": {
"r": 168,
"g": 175,
"b": 47
},
"hsl": {
"h": 63.281,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.7256,
"c": 0.14525,
"h": 112.6
},
"luminance": 0.3919
}Semantic roles & 50–950 ramp
primary
#A8AF2F
secondary
#7A75C4
accent
#47E14F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B