#A7AF3D#A7AF3D
#A7AF3D is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.6% C 0.136 H 113.2°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AF3D |
|---|---|
| RGB | rgb(167, 175, 61) |
| HSL | hsl(64, 48%, 46%) |
| HSV | hsv(64, 65%, 69%) |
| CMYK | cmyk(4.6%, 0%, 65.1%, 31.4%) |
| CIE-LAB | lab(68.91, -17.74, 55.28) |
| CIE-LCH | lch(68.91, 58.06, 107.79°) |
| OKLab | oklab(72.58% -0.0535 0.1251) |
| OKLCH | oklch(72.58% 0.136 113.2) |
| XYZ | xyz(32.1095, 39.2130, 10.2914) |
| Luminance | 0.3921 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 4.10
Booger
#9BB53C
ΔE00 4.12
Mustard Green
#A8B504
ΔE00 4.36
Pea Soup Green
#94A617
ΔE00 4.41
Vomit
#A2A415
ΔE00 4.41
Barf Green
#94AC02
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AF3D #453DAF
analogous
#AF7E3D #A7AF3D #6EAF3D
triadic
#A7AF3D #3DA7AF #AF3DA7
tetradic
#A7AF3D #3DAF7E #453DAF #AF3D6E
square
#A7AF3D #3DAF7E #453DAF #AF3D6E
split-complementary
#A7AF3D #3D6EAF #7E3DAF
monochromatic
#50541D #7C822D #A7AF3D #C1C861 #D3D88F
Accessibility & contrast
On white
2.37
#A7AF3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#A7AF3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AF3D
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AF3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AF3D | 1.00 | 2.37 | 8.84 | 8.84 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA72E
Deuteranopia (green-blind)
#BCA945
Tritanopia (blue-blind)
#B2A598
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a7af3d; /* rgb */ color: rgb(167, 175, 61); /* oklch */ color: oklch(72.6% 0.136 113.2);
Tailwind
colors: {
custom: {
50: '#c4c678',
500: '#a7af3d',
950: '#000000',
},
}SCSS
$custom: #a7af3d; $custom-light: #c4c678; $custom-dark: #000000;
JSON
{
"hex": "#a7af3d",
"rgb": {
"r": 167,
"g": 175,
"b": 61
},
"hsl": {
"h": 64.211,
"s": 48.305,
"l": 46.275
},
"oklch": {
"l": 0.72583,
"c": 0.13605,
"h": 113.2
},
"luminance": 0.39212
}Semantic roles & 50–950 ramp
primary
#A7AF3D
secondary
#8985C3
accent
#50D859
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B