#A4AF34#A4AF34
#A4AF34 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.3% C 0.143 H 114.4°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A4AF34 |
|---|---|
| RGB | rgb(164, 175, 52) |
| HSL | hsl(65, 54%, 45%) |
| HSV | hsv(65, 70%, 69%) |
| CMYK | cmyk(6.3%, 0%, 70.3%, 31.4%) |
| CIE-LAB | lab(68.61, -19.55, 58.46) |
| CIE-LCH | lch(68.61, 61.64, 108.49°) |
| OKLab | oklab(72.27% -0.0593 0.1304) |
| OKLCH | oklch(72.27% 0.143 114.4) |
| XYZ | xyz(31.2605, 38.8010, 9.0907) |
| Luminance | 0.3880 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.03
Mustard Green
#A8B504
ΔE00 3.60
Pea Soup Green
#94A617
ΔE00 3.63
Booger
#9BB53C
ΔE00 3.69
Barf Green
#94AC02
ΔE00 3.73
Sickly Green
#94B21C
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4AF34 #3F34AF
analogous
#AF7D34 #A4AF34 #67AF34
triadic
#A4AF34 #34A4AF #AF34A4
tetradic
#A4AF34 #34AF7D #3F34AF #AF3467
square
#A4AF34 #34AF7D #3F34AF #AF3467
split-complementary
#A4AF34 #3467AF #7D34AF
monochromatic
#4C5118 #788026 #A4AF34 #C1CC54 #D2DA83
Accessibility & contrast
On white
2.40
#A4AF34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#A4AF34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4AF34
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4AF34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4AF34 | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA61F
Deuteranopia (green-blind)
#BBA83D
Tritanopia (blue-blind)
#AFA597
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a4af34; /* rgb */ color: rgb(164, 175, 52); /* oklch */ color: oklch(72.3% 0.143 114.4);
Tailwind
colors: {
custom: {
50: '#c2c673',
500: '#a4af34',
950: '#000000',
},
}SCSS
$custom: #a4af34; $custom-light: #c2c673; $custom-dark: #000000;
JSON
{
"hex": "#a4af34",
"rgb": {
"r": 164,
"g": 175,
"b": 52
},
"hsl": {
"h": 65.366,
"s": 54.185,
"l": 44.51
},
"oklch": {
"l": 0.72266,
"c": 0.14326,
"h": 114.4
},
"luminance": 0.388
}Semantic roles & 50–950 ramp
primary
#A4AF34
secondary
#827BC4
accent
#4ADE57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B