#A4AF30#A4AF30
#A4AF30 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.2% C 0.146 H 114.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A4AF30 |
|---|---|
| RGB | rgb(164, 175, 48) |
| HSL | hsl(65, 57%, 44%) |
| HSV | hsv(65, 73%, 69%) |
| CMYK | cmyk(6.3%, 0%, 72.6%, 31.4%) |
| CIE-LAB | lab(68.58, -19.76, 59.90) |
| CIE-LCH | lch(68.58, 63.07, 108.26°) |
| OKLab | oklab(72.24% -0.0602 0.1328) |
| OKLCH | oklch(72.24% 0.146 114.4) |
| XYZ | xyz(31.1742, 38.7664, 8.6362) |
| Luminance | 0.3877 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.75
Mustard Green
#A8B504
ΔE00 3.25
Pea Soup Green
#94A617
ΔE00 3.52
Barf Green
#94AC02
ΔE00 3.53
Booger
#9BB53C
ΔE00 3.86
Vomit
#A2A415
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4AF30 #3B30AF
analogous
#AF7A30 #A4AF30 #64AF30
triadic
#A4AF30 #30A4AF #AF30A4
tetradic
#A4AF30 #30AF7A #3B30AF #AF3064
square
#A4AF30 #30AF7A #3B30AF #AF3064
split-complementary
#A4AF30 #3064AF #7A30AF
monochromatic
#4A4F16 #777F23 #A4AF30 #C3CE4E #D3DC7E
Accessibility & contrast
On white
2.40
#A4AF30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.75
#A4AF30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4AF30
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4AF30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4AF30 | 1.00 | 2.40 | 8.75 | 8.75 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA618
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#AFA596
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a4af30; /* rgb */ color: rgb(164, 175, 48); /* oklch */ color: oklch(72.2% 0.146 114.4);
Tailwind
colors: {
custom: {
50: '#c2c671',
500: '#a4af30',
950: '#000000',
},
}SCSS
$custom: #a4af30; $custom-light: #c2c671; $custom-dark: #000000;
JSON
{
"hex": "#a4af30",
"rgb": {
"r": 164,
"g": 175,
"b": 48
},
"hsl": {
"h": 65.197,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.72238,
"c": 0.14579,
"h": 114.4
},
"luminance": 0.38766
}Semantic roles & 50–950 ramp
primary
#A4AF30
secondary
#7D76C4
accent
#48E055
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B