#A4AF23#A4AF23
#A4AF23 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.153 H 114.3°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A4AF23 |
|---|---|
| RGB | rgb(164, 175, 35) |
| HSL | hsl(65, 67%, 41%) |
| HSV | hsv(65, 80%, 69%) |
| CMYK | cmyk(6.3%, 0%, 80%, 31.4%) |
| CIE-LAB | lab(68.51, -20.32, 64.01) |
| CIE-LCH | lch(68.51, 67.15, 107.61°) |
| OKLab | oklab(72.16% -0.0629 0.1392) |
| OKLCH | oklch(72.16% 0.153 114.3) |
| XYZ | xyz(30.9442, 38.6744, 7.4246) |
| Luminance | 0.3867 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.19
Mustard Green
#A8B504
ΔE00 2.36
Barf Green
#94AC02
ΔE00 3.21
Pea Soup Green
#94A617
ΔE00 3.46
Vomit
#A2A415
ΔE00 3.57
Snot
#ACBB0D
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4AF23 #2E23AF
analogous
#AF7423 #A4AF23 #5EAF23
triadic
#A4AF23 #23A4AF #AF23A4
tetradic
#A4AF23 #23AF74 #2E23AF #AF235E
square
#A4AF23 #23AF74 #2E23AF #AF235E
split-complementary
#A4AF23 #235EAF #7423AF
monochromatic
#44490F #747C19 #A4AF23 #CBD738 #D8E16B
Accessibility & contrast
On white
2.40
#A4AF23 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#A4AF23 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4AF23
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4AF23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4AF23 | 1.00 | 2.40 | 8.73 | 8.73 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BCA831
Tritanopia (blue-blind)
#AFA496
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a4af23; /* rgb */ color: rgb(164, 175, 35); /* oklch */ color: oklch(72.2% 0.153 114.3);
Tailwind
colors: {
custom: {
50: '#c3c66b',
500: '#a4af23',
950: '#000000',
},
}SCSS
$custom: #a4af23; $custom-light: #c3c66b; $custom-dark: #000000;
JSON
{
"hex": "#a4af23",
"rgb": {
"r": 164,
"g": 175,
"b": 35
},
"hsl": {
"h": 64.714,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.72163,
"c": 0.15271,
"h": 114.3
},
"luminance": 0.38674
}Semantic roles & 50–950 ramp
primary
#A4AF23
secondary
#6E66C7
accent
#3EEA4C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A