#A7A31E#A7A31E
#A7A31E is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.142 H 107.7°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A31E |
|---|---|
| RGB | rgb(167, 163, 30) |
| HSL | hsl(58, 70%, 39%) |
| HSV | hsv(58, 82%, 65%) |
| CMYK | cmyk(0%, 2.4%, 82%, 34.5%) |
| CIE-LAB | lab(65.36, -13.05, 62.73) |
| CIE-LCH | lch(65.36, 64.08, 101.75°) |
| OKLab | oklab(69.69% -0.0433 0.1354) |
| OKLCH | oklch(69.69% 0.142 107.7) |
| XYZ | xyz(29.2691, 34.5046, 6.3463) |
| Luminance | 0.3450 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.57
Puke
#A5A502
ΔE00 1.61
Pea Soup
#929901
ΔE00 4.71
Baby Poop Green
#8F9805
ΔE00 5.38
Pea Soup Green
#94A617
ΔE00 5.39
Muddy Yellow
#BFAC05
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A31E #1E22A7
analogous
#A75E1E #A7A31E #66A71E
triadic
#A7A31E #1EA7A3 #A31EA7
tetradic
#A7A31E #1EA75E #1E22A7 #A71E66
square
#A7A31E #1EA75E #1E22A7 #A71E66
split-complementary
#A7A31E #1E66A7 #5E1EA7
monochromatic
#3F3E0B #737015 #A7A31E #D9D42A #E2DE5D
Accessibility & contrast
On white
2.66
#A7A31E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#A7A31E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A31E
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A31E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A31E | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B4A12B
Tritanopia (blue-blind)
#B4988B
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a7a31e; /* rgb */ color: rgb(167, 163, 30); /* oklch */ color: oklch(69.7% 0.142 107.7);
Tailwind
colors: {
custom: {
50: '#c5bd68',
500: '#a7a31e',
950: '#000000',
},
}SCSS
$custom: #a7a31e; $custom-light: #c5bd68; $custom-dark: #000000;
JSON
{
"hex": "#a7a31e",
"rgb": {
"r": 167,
"g": 163,
"b": 30
},
"hsl": {
"h": 58.248,
"s": 69.543,
"l": 38.627
},
"oklch": {
"l": 0.69692,
"c": 0.14213,
"h": 107.7
},
"luminance": 0.34504
}Semantic roles & 50–950 ramp
primary
#A7A31E
secondary
#5B5EC6
accent
#41EC3B
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131207
muted
#82817A