#A4AF25#A4AF25
#A4AF25 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.152 H 114.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A4AF25 |
|---|---|
| RGB | rgb(164, 175, 37) |
| HSL | hsl(65, 65%, 42%) |
| HSV | hsv(65, 79%, 69%) |
| CMYK | cmyk(6.3%, 0%, 78.9%, 31.4%) |
| CIE-LAB | lab(68.52, -20.25, 63.44) |
| CIE-LCH | lch(68.52, 66.59, 107.70°) |
| OKLab | oklab(72.17% -0.0625 0.1383) |
| OKLCH | oklch(72.17% 0.152 114.3) |
| XYZ | xyz(30.9747, 38.6866, 7.5855) |
| Luminance | 0.3869 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.24
Mustard Green
#A8B504
ΔE00 2.47
Barf Green
#94AC02
ΔE00 3.23
Pea Soup Green
#94A617
ΔE00 3.45
Vomit
#A2A415
ΔE00 3.60
Snot
#ACBB0D
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4AF25 #3025AF
analogous
#AF7525 #A4AF25 #5FAF25
triadic
#A4AF25 #25A4AF #AF25A4
tetradic
#A4AF25 #25AF75 #3025AF #AF255F
square
#A4AF25 #25AF75 #3025AF #AF255F
split-complementary
#A4AF25 #255FAF #7525AF
monochromatic
#454A10 #757C1A #A4AF25 #C9D63C #D7E06E
Accessibility & contrast
On white
2.40
#A4AF25 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.74
#A4AF25 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4AF25
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4AF25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4AF25 | 1.00 | 2.40 | 8.74 | 8.74 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BCA832
Tritanopia (blue-blind)
#AFA496
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a4af25; /* rgb */ color: rgb(164, 175, 37); /* oklch */ color: oklch(72.2% 0.152 114.3);
Tailwind
colors: {
custom: {
50: '#c3c66c',
500: '#a4af25',
950: '#000000',
},
}SCSS
$custom: #a4af25; $custom-light: #c3c66c; $custom-dark: #000000;
JSON
{
"hex": "#a4af25",
"rgb": {
"r": 164,
"g": 175,
"b": 37
},
"hsl": {
"h": 64.783,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.72173,
"c": 0.15178,
"h": 114.3
},
"luminance": 0.38686
}Semantic roles & 50–950 ramp
primary
#A4AF25
secondary
#7069C7
accent
#40E84D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A