#A7B331#A7B331
#A7B331 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.149 H 114.7°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B331 |
|---|---|
| RGB | rgb(167, 179, 49) |
| HSL | hsl(66, 57%, 45%) |
| HSV | hsv(66, 73%, 70%) |
| CMYK | cmyk(6.7%, 0%, 72.6%, 29.8%) |
| CIE-LAB | lab(69.95, -20.44, 60.94) |
| CIE-LCH | lch(69.95, 64.28, 108.54°) |
| OKLab | oklab(73.39% -0.0622 0.135) |
| OKLCH | oklch(73.39% 0.149 114.7) |
| XYZ | xyz(32.6117, 40.6780, 9.0388) |
| Luminance | 0.4068 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.68
Puke Green
#9AAE07
ΔE00 3.00
Snot
#ACBB0D
ΔE00 3.37
Sick Green
#9DB92C
ΔE00 3.46
Booger
#9BB53C
ΔE00 3.65
Barf Green
#94AC02
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B331 #3D31B3
analogous
#B37E31 #A7B331 #66B331
triadic
#A7B331 #31A7B3 #B331A7
tetradic
#A7B331 #31B37E #3D31B3 #B33166
square
#A7B331 #31B37E #3D31B3 #B33166
split-complementary
#A7B331 #3166B3 #7E31B3
monochromatic
#4D5317 #7A8324 #A7B331 #C4D052 #D4DD82
Accessibility & contrast
On white
2.30
#A7B331 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#A7B331 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B331
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B331 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B331 | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA18
Deuteranopia (green-blind)
#BFAC3C
Tritanopia (blue-blind)
#B2A89A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a7b331; /* rgb */ color: rgb(167, 179, 49); /* oklch */ color: oklch(73.4% 0.149 114.7);
Tailwind
colors: {
custom: {
50: '#c4c972',
500: '#a7b331',
950: '#000000',
},
}SCSS
$custom: #a7b331; $custom-light: #c4c972; $custom-dark: #000000;
JSON
{
"hex": "#a7b331",
"rgb": {
"r": 167,
"g": 179,
"b": 49
},
"hsl": {
"h": 65.538,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.73394,
"c": 0.14868,
"h": 114.7
},
"luminance": 0.40677
}Semantic roles & 50–950 ramp
primary
#A7B331
secondary
#817AC6
accent
#48E056
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B