#A7AF33#A7AF33
#A7AF33 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.5% C 0.143 H 113.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AF33 |
|---|---|
| RGB | rgb(167, 175, 51) |
| HSL | hsl(64, 55%, 44%) |
| HSV | hsv(64, 71%, 69%) |
| CMYK | cmyk(4.6%, 0%, 70.9%, 31.4%) |
| CIE-LAB | lab(68.83, -18.32, 59.14) |
| CIE-LCH | lch(68.83, 61.91, 107.21°) |
| OKLab | oklab(72.5% -0.0561 0.1316) |
| OKLCH | oklch(72.5% 0.143 113.1) |
| XYZ | xyz(31.8648, 39.1151, 9.0027) |
| Luminance | 0.3911 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.36
Mustard Green
#A8B504
ΔE00 3.39
Vomit
#A2A415
ΔE00 3.77
Pea Soup Green
#94A617
ΔE00 4.03
Barf Green
#94AC02
ΔE00 4.20
Puke
#A5A502
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AF33 #3B33AF
analogous
#AF7933 #A7AF33 #69AF33
triadic
#A7AF33 #33A7AF #AF33A7
tetradic
#A7AF33 #33AF79 #3B33AF #AF3369
square
#A7AF33 #33AF79 #3B33AF #AF3369
split-complementary
#A7AF33 #3369AF #7933AF
monochromatic
#4D5017 #7A8025 #A7AF33 #C5CD52 #D5DB82
Accessibility & contrast
On white
2.38
#A7AF33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#A7AF33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AF33
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AF33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AF33 | 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)
#BCA71E
Deuteranopia (green-blind)
#BCA93C
Tritanopia (blue-blind)
#B2A497
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a7af33; /* rgb */ color: rgb(167, 175, 51); /* oklch */ color: oklch(72.5% 0.143 113.1);
Tailwind
colors: {
custom: {
50: '#c4c673',
500: '#a7af33',
950: '#000000',
},
}SCSS
$custom: #a7af33; $custom-light: #c4c673; $custom-dark: #000000;
JSON
{
"hex": "#a7af33",
"rgb": {
"r": 167,
"g": 175,
"b": 51
},
"hsl": {
"h": 63.871,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.72504,
"c": 0.14304,
"h": 113.1
},
"luminance": 0.39114
}Semantic roles & 50–950 ramp
primary
#A7AF33
secondary
#7F7AC4
accent
#4ADE53
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B