#A8AF2D#A8AF2D
#A8AF2D is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.146 H 112.6°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A8AF2D |
|---|---|
| RGB | rgb(168, 175, 45) |
| HSL | hsl(63, 59%, 43%) |
| HSV | hsv(63, 74%, 69%) |
| CMYK | cmyk(4%, 0%, 74.3%, 31.4%) |
| CIE-LAB | lab(68.88, -18.19, 61.33) |
| CIE-LCH | lch(68.88, 63.97, 106.52°) |
| OKLab | oklab(72.55% -0.0564 0.1351) |
| OKLCH | oklch(72.55% 0.146 112.6) |
| XYZ | xyz(31.9531, 39.1750, 8.3604) |
| Luminance | 0.3917 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.93
Puke Green
#9AAE07
ΔE00 3.26
Vomit
#A2A415
ΔE00 3.44
Puke
#A5A502
ΔE00 3.76
Snot
#ACBB0D
ΔE00 4.06
Pea Soup Green
#94A617
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8AF2D #342DAF
analogous
#AF752D #A8AF2D #67AF2D
triadic
#A8AF2D #2DA8AF #AF2DA8
tetradic
#A8AF2D #2DAF75 #342DAF #AF2D67
square
#A8AF2D #2DAF75 #342DAF #AF2D67
split-complementary
#A8AF2D #2D67AF #752DAF
monochromatic
#4B4E14 #797E20 #A8AF2D #C9D049 #D7DD7A
Accessibility & contrast
On white
2.38
#A8AF2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#A8AF2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8AF2D
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8AF2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8AF2D | 1.00 | 2.38 | 8.83 | 8.83 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA711
Deuteranopia (green-blind)
#BDA938
Tritanopia (blue-blind)
#B4A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a8af2d; /* rgb */ color: rgb(168, 175, 45); /* oklch */ color: oklch(72.5% 0.146 112.6);
Tailwind
colors: {
custom: {
50: '#c5c670',
500: '#a8af2d',
950: '#000000',
},
}SCSS
$custom: #a8af2d; $custom-light: #c5c670; $custom-dark: #000000;
JSON
{
"hex": "#a8af2d",
"rgb": {
"r": 168,
"g": 175,
"b": 45
},
"hsl": {
"h": 63.231,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.72547,
"c": 0.14642,
"h": 112.6
},
"luminance": 0.39174
}Semantic roles & 50–950 ramp
primary
#A8AF2D
secondary
#7773C5
accent
#46E24E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B