#A7B831#A7B831
#A7B831 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.5% C 0.154 H 116.6°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B831 |
|---|---|
| RGB | rgb(167, 184, 49) |
| HSL | hsl(68, 58%, 46%) |
| HSV | hsv(68, 73%, 72%) |
| CMYK | cmyk(9.2%, 0%, 73.4%, 27.8%) |
| CIE-LAB | lab(71.36, -22.92, 62.30) |
| CIE-LCH | lch(71.36, 66.38, 110.20°) |
| OKLab | oklab(74.53% -0.0691 0.1379) |
| OKLCH | oklch(74.53% 0.154 116.6) |
| XYZ | xyz(33.6321, 42.7187, 9.3789) |
| Luminance | 0.4272 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.28
Pea
#A4BF20
ΔE00 2.66
Snot
#ACBB0D
ΔE00 2.76
Mustard Green
#A8B504
ΔE00 2.81
Booger
#9BB53C
ΔE00 3.13
Bright Olive
#9CBB04
ΔE00 3.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B831 #4231B8
analogous
#B88631 #A7B831 #63B831
triadic
#A7B831 #31A7B8 #B831A7
tetradic
#A7B831 #31B886 #4231B8 #B83163
square
#A7B831 #31B886 #4231B8 #B83163
split-complementary
#A7B831 #3163B8 #8631B8
monochromatic
#4F5717 #7B8824 #A7B831 #C2D255 #D3DE85
Accessibility & contrast
On white
2.20
#A7B831 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#A7B831 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B831
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B831 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B831 | 1.00 | 2.20 | 9.54 | 9.54 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE15
Deuteranopia (green-blind)
#C3B03C
Tritanopia (blue-blind)
#B2AD9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a7b831; /* rgb */ color: rgb(167, 184, 49); /* oklch */ color: oklch(74.5% 0.154 116.6);
Tailwind
colors: {
custom: {
50: '#c5cd73',
500: '#a7b831',
950: '#000000',
},
}SCSS
$custom: #a7b831; $custom-light: #c5cd73; $custom-dark: #000000;
JSON
{
"hex": "#a7b831",
"rgb": {
"r": 167,
"g": 184,
"b": 49
},
"hsl": {
"h": 67.556,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.74529,
"c": 0.15424,
"h": 116.6
},
"luminance": 0.42718
}Semantic roles & 50–950 ramp
primary
#A7B831
secondary
#867DC8
accent
#47E15A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B