#A7AF30#A7AF30
#A7AF30 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.5% C 0.145 H 113.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AF30 |
|---|---|
| RGB | rgb(167, 175, 48) |
| HSL | hsl(64, 57%, 44%) |
| HSV | hsv(64, 73%, 69%) |
| CMYK | cmyk(4.6%, 0%, 72.6%, 31.4%) |
| CIE-LAB | lab(68.82, -18.47, 60.21) |
| CIE-LCH | lch(68.82, 62.98, 107.06°) |
| OKLab | oklab(72.48% -0.0568 0.1333) |
| OKLCH | oklch(72.48% 0.145 113.1) |
| XYZ | xyz(31.8008, 39.0895, 8.6656) |
| Luminance | 0.3909 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.14
Puke Green
#9AAE07
ΔE00 3.20
Vomit
#A2A415
ΔE00 3.63
Pea Soup Green
#94A617
ΔE00 3.98
Puke
#A5A502
ΔE00 4.05
Barf Green
#94AC02
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AF30 #3830AF
analogous
#AF7730 #A7AF30 #67AF30
triadic
#A7AF30 #30A7AF #AF30A7
tetradic
#A7AF30 #30AF77 #3830AF #AF3067
square
#A7AF30 #30AF77 #3830AF #AF3067
split-complementary
#A7AF30 #3067AF #7730AF
monochromatic
#4B4F16 #797F23 #A7AF30 #C6CE4E #D6DC7E
Accessibility & contrast
On white
2.38
#A7AF30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#A7AF30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AF30
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AF30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AF30 | 1.00 | 2.38 | 8.82 | 8.82 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA718
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#B2A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a7af30; /* rgb */ color: rgb(167, 175, 48); /* oklch */ color: oklch(72.5% 0.145 113.1);
Tailwind
colors: {
custom: {
50: '#c4c671',
500: '#a7af30',
950: '#000000',
},
}SCSS
$custom: #a7af30; $custom-light: #c4c671; $custom-dark: #000000;
JSON
{
"hex": "#a7af30",
"rgb": {
"r": 167,
"g": 175,
"b": 48
},
"hsl": {
"h": 63.78,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.72483,
"c": 0.14492,
"h": 113.1
},
"luminance": 0.39089
}Semantic roles & 50–950 ramp
primary
#A7AF30
secondary
#7B76C4
accent
#48E051
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B