#A7AF2D#A7AF2D
#A7AF2D is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.5% C 0.147 H 113.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AF2D |
|---|---|
| RGB | rgb(167, 175, 45) |
| HSL | hsl(64, 59%, 43%) |
| HSV | hsv(64, 74%, 69%) |
| CMYK | cmyk(4.6%, 0%, 74.3%, 31.4%) |
| CIE-LAB | lab(68.80, -18.62, 61.23) |
| CIE-LCH | lch(68.80, 64.00, 106.91°) |
| OKLab | oklab(72.46% -0.0575 0.1349) |
| OKLCH | oklch(72.46% 0.147 113.1) |
| XYZ | xyz(31.7410, 39.0656, 8.3505) |
| Luminance | 0.3906 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.92
Puke Green
#9AAE07
ΔE00 3.07
Vomit
#A2A415
ΔE00 3.52
Puke
#A5A502
ΔE00 3.88
Pea Soup Green
#94A617
ΔE00 3.95
Barf Green
#94AC02
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AF2D #352DAF
analogous
#AF762D #A7AF2D #66AF2D
triadic
#A7AF2D #2DA7AF #AF2DA7
tetradic
#A7AF2D #2DAF76 #352DAF #AF2D66
square
#A7AF2D #2DAF76 #352DAF #AF2D66
split-complementary
#A7AF2D #2D66AF #762DAF
monochromatic
#4A4E14 #797E20 #A7AF2D #C8D049 #D7DD7A
Accessibility & contrast
On white
2.38
#A7AF2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.81
#A7AF2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AF2D
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AF2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AF2D | 1.00 | 2.38 | 8.81 | 8.81 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA711
Deuteranopia (green-blind)
#BCA938
Tritanopia (blue-blind)
#B2A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a7af2d; /* rgb */ color: rgb(167, 175, 45); /* oklch */ color: oklch(72.5% 0.147 113.1);
Tailwind
colors: {
custom: {
50: '#c5c670',
500: '#a7af2d',
950: '#000000',
},
}SCSS
$custom: #a7af2d; $custom-light: #c5c670; $custom-dark: #000000;
JSON
{
"hex": "#a7af2d",
"rgb": {
"r": 167,
"g": 175,
"b": 45
},
"hsl": {
"h": 63.692,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.72464,
"c": 0.14668,
"h": 113.1
},
"luminance": 0.39065
}Semantic roles & 50–950 ramp
primary
#A7AF2D
secondary
#7873C5
accent
#46E24F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B