#A7AF34#A7AF34
#A7AF34 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.5% C 0.142 H 113.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AF34 |
|---|---|
| RGB | rgb(167, 175, 52) |
| HSL | hsl(64, 54%, 45%) |
| HSV | hsv(64, 70%, 69%) |
| CMYK | cmyk(4.6%, 0%, 70.3%, 31.4%) |
| CIE-LAB | lab(68.84, -18.27, 58.77) |
| CIE-LCH | lch(68.84, 61.54, 107.27°) |
| OKLab | oklab(72.51% -0.0559 0.131) |
| OKLCH | oklch(72.51% 0.142 113.1) |
| XYZ | xyz(31.8871, 39.1240, 9.1201) |
| Luminance | 0.3912 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.42
Mustard Green
#A8B504
ΔE00 3.48
Vomit
#A2A415
ΔE00 3.82
Pea Soup Green
#94A617
ΔE00 4.06
Barf Green
#94AC02
ΔE00 4.25
Puke
#A5A502
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AF34 #3C34AF
analogous
#AF7934 #A7AF34 #6AAF34
triadic
#A7AF34 #34A7AF #AF34A7
tetradic
#A7AF34 #34AF79 #3C34AF #AF346A
square
#A7AF34 #34AF79 #3C34AF #AF346A
split-complementary
#A7AF34 #346AAF #7934AF
monochromatic
#4D5118 #7A8026 #A7AF34 #C4CC54 #D5DA83
Accessibility & contrast
On white
2.38
#A7AF34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#A7AF34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AF34
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AF34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AF34 | 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)
#BCA71F
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#B2A597
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a7af34; /* rgb */ color: rgb(167, 175, 52); /* oklch */ color: oklch(72.5% 0.142 113.1);
Tailwind
colors: {
custom: {
50: '#c4c673',
500: '#a7af34',
950: '#000000',
},
}SCSS
$custom: #a7af34; $custom-light: #c4c673; $custom-dark: #000000;
JSON
{
"hex": "#a7af34",
"rgb": {
"r": 167,
"g": 175,
"b": 52
},
"hsl": {
"h": 63.902,
"s": 54.185,
"l": 44.51
},
"oklch": {
"l": 0.72511,
"c": 0.1424,
"h": 113.1
},
"luminance": 0.39123
}Semantic roles & 50–950 ramp
primary
#A7AF34
secondary
#807BC4
accent
#4ADE54
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B