#A7BA31#A7BA31
#A7BA31 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.0% C 0.156 H 117.3°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BA31 |
|---|---|
| RGB | rgb(167, 186, 49) |
| HSL | hsl(68, 58%, 46%) |
| HSV | hsv(68, 74%, 73%) |
| CMYK | cmyk(10.2%, 0%, 73.7%, 27.1%) |
| CIE-LAB | lab(71.93, -23.90, 62.84) |
| CIE-LCH | lch(71.93, 67.23, 110.82°) |
| OKLab | oklab(74.98% -0.0718 0.139) |
| OKLCH | oklch(74.98% 0.156 117.3) |
| XYZ | xyz(34.0504, 43.5554, 9.5184) |
| Luminance | 0.4355 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.99
Pea
#A4BF20
ΔE00 2.12
Snot
#ACBB0D
ΔE00 2.74
Gross Green
#A0BF16
ΔE00 2.74
Bright Olive
#9CBB04
ΔE00 2.83
Mustard Green
#A8B504
ΔE00 3.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BA31 #4431BA
analogous
#BA8831 #A7BA31 #62BA31
triadic
#A7BA31 #31A7BA #BA31A7
tetradic
#A7BA31 #31BA88 #4431BA #BA3162
square
#A7BA31 #31BA88 #4431BA #BA3162
split-complementary
#A7BA31 #3162BA #8831BA
monochromatic
#505917 #7C8A24 #A7BA31 #C1D256 #D3DF86
Accessibility & contrast
On white
2.16
#A7BA31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#A7BA31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BA31
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BA31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BA31 | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B014
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#B1AFA0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a7ba31; /* rgb */ color: rgb(167, 186, 49); /* oklch */ color: oklch(75.0% 0.156 117.3);
Tailwind
colors: {
custom: {
50: '#c5ce73',
500: '#a7ba31',
950: '#000000',
},
}SCSS
$custom: #a7ba31; $custom-light: #c5ce73; $custom-dark: #000000;
JSON
{
"hex": "#a7ba31",
"rgb": {
"r": 167,
"g": 186,
"b": 49
},
"hsl": {
"h": 68.321,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.74984,
"c": 0.15648,
"h": 117.3
},
"luminance": 0.43555
}Semantic roles & 50–950 ramp
primary
#A7BA31
secondary
#887EC9
accent
#46E25C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B