#A7B31D#A7B31D
#A7B31D is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.158 H 114.6°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B31D |
|---|---|
| RGB | rgb(167, 179, 29) |
| HSL | hsl(65, 72%, 41%) |
| HSV | hsv(65, 84%, 70%) |
| CMYK | cmyk(6.7%, 0%, 83.8%, 29.8%) |
| CIE-LAB | lab(69.86, -21.22, 66.82) |
| CIE-LCH | lch(69.86, 70.11, 107.62°) |
| OKLab | oklab(73.29% -0.0659 0.1441) |
| OKLCH | oklch(73.29% 0.158 114.6) |
| XYZ | xyz(32.2792, 40.5450, 7.2877) |
| Luminance | 0.4054 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.19
Snot
#ACBB0D
ΔE00 2.39
Puke Green
#9AAE07
ΔE00 2.53
Barf Green
#94AC02
ΔE00 3.69
Booger Green
#96B403
ΔE00 3.72
Sick Green
#9DB92C
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B31D #291DB3
analogous
#B3741D #A7B31D #5CB31D
triadic
#A7B31D #1DA7B3 #B31DA7
tetradic
#A7B31D #1DB374 #291DB3 #B31D5C
square
#A7B31D #1DB374 #291DB3 #B31D5C
split-complementary
#A7B31D #1D5CB3 #741DB3
monochromatic
#454A0C #767E14 #A7B31D #D0DD30 #DCE664
Accessibility & contrast
On white
2.31
#A7B31D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#A7B31D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B31D
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B31D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B31D | 1.00 | 2.31 | 9.11 | 9.11 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC2D
Tritanopia (blue-blind)
#B3A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a7b31d; /* rgb */ color: rgb(167, 179, 29); /* oklch */ color: oklch(73.3% 0.158 114.6);
Tailwind
colors: {
custom: {
50: '#c5c96a',
500: '#a7b31d',
950: '#000000',
},
}SCSS
$custom: #a7b31d; $custom-light: #c5c96a; $custom-dark: #000000;
JSON
{
"hex": "#a7b31d",
"rgb": {
"r": 167,
"g": 179,
"b": 29
},
"hsl": {
"h": 64.8,
"s": 72.115,
"l": 40.784
},
"oklch": {
"l": 0.73289,
"c": 0.15844,
"h": 114.6
},
"luminance": 0.40544
}Semantic roles & 50–950 ramp
primary
#A7B31D
secondary
#6961CB
accent
#39EF48
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A