#A7BB31#A7BB31
#A7BB31 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.2% C 0.158 H 117.7°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BB31 |
|---|---|
| RGB | rgb(167, 187, 49) |
| HSL | hsl(69, 58%, 46%) |
| HSV | hsv(69, 74%, 73%) |
| CMYK | cmyk(10.7%, 0%, 73.8%, 26.7%) |
| CIE-LAB | lab(72.21, -24.39, 63.11) |
| CIE-LCH | lch(72.21, 67.66, 111.13°) |
| OKLab | oklab(75.21% -0.0732 0.1396) |
| OKLCH | oklch(75.21% 0.158 117.7) |
| XYZ | xyz(34.2619, 43.9783, 9.5889) |
| Luminance | 0.4398 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.87
Sick Green
#9DB92C
ΔE00 1.90
Gross Green
#A0BF16
ΔE00 2.51
Bright Olive
#9CBB04
ΔE00 2.70
Snot
#ACBB0D
ΔE00 2.78
Booger
#9BB53C
ΔE00 3.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BB31 #4531BB
analogous
#BB8A31 #A7BB31 #62BB31
triadic
#A7BB31 #31A7BB #BB31A7
tetradic
#A7BB31 #31BB8A #4531BB #BB3162
square
#A7BB31 #31BB8A #4531BB #BB3162
split-complementary
#A7BB31 #3162BB #8A31BB
monochromatic
#505A18 #7C8B24 #A7BB31 #C1D356 #D3E087
Accessibility & contrast
On white
2.14
#A7BB31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#A7BB31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BB31
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BB31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BB31 | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B114
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#B1B0A1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a7bb31; /* rgb */ color: rgb(167, 187, 49); /* oklch */ color: oklch(75.2% 0.158 117.7);
Tailwind
colors: {
custom: {
50: '#c5cf73',
500: '#a7bb31',
950: '#000000',
},
}SCSS
$custom: #a7bb31; $custom-light: #c5cf73; $custom-dark: #000000;
JSON
{
"hex": "#a7bb31",
"rgb": {
"r": 167,
"g": 187,
"b": 49
},
"hsl": {
"h": 68.696,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.75212,
"c": 0.15761,
"h": 117.7
},
"luminance": 0.43978
}Semantic roles & 50–950 ramp
primary
#A7BB31
secondary
#897FC9
accent
#46E25D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B