#A7BA2B#A7BA2B
#A7BA2B is a light, vivid yellow. Relative luminance 0.435; OKLCH L 74.9% C 0.160 H 117.2°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BA2B |
|---|---|
| RGB | rgb(167, 186, 43) |
| HSL | hsl(68, 62%, 45%) |
| HSV | hsv(68, 77%, 73%) |
| CMYK | cmyk(10.2%, 0%, 76.9%, 27.1%) |
| CIE-LAB | lab(71.90, -24.17, 64.77) |
| CIE-LCH | lch(71.90, 69.13, 110.47°) |
| OKLab | oklab(74.95% -0.0731 0.1421) |
| OKLCH | oklch(74.95% 0.16 117.2) |
| XYZ | xyz(33.9322, 43.5081, 8.8954) |
| Luminance | 0.4351 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.91
Sick Green
#9DB92C
ΔE00 2.14
Snot
#ACBB0D
ΔE00 2.27
Gross Green
#A0BF16
ΔE00 2.54
Bright Olive
#9CBB04
ΔE00 2.57
Mustard Green
#A8B504
ΔE00 2.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BA2B #3E2BBA
analogous
#BA852B #A7BA2B #60BA2B
triadic
#A7BA2B #2BA7BA #BA2BA7
tetradic
#A7BA2B #2BBA85 #3E2BBA #BA2B60
square
#A7BA2B #2BBA85 #3E2BBA #BA2B60
split-complementary
#A7BA2B #2B60BA #852BBA
monochromatic
#4E5714 #7A8820 #A7BA2B #C3D64C #D4E17E
Accessibility & contrast
On white
2.16
#A7BA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#A7BA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BA2B
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BA2B | 1.00 | 2.16 | 9.70 | 9.70 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B001
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#B2AF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a7ba2b; /* rgb */ color: rgb(167, 186, 43); /* oklch */ color: oklch(74.9% 0.160 117.2);
Tailwind
colors: {
custom: {
50: '#c5ce70',
500: '#a7ba2b',
950: '#000000',
},
}SCSS
$custom: #a7ba2b; $custom-light: #c5ce70; $custom-dark: #000000;
JSON
{
"hex": "#a7ba2b",
"rgb": {
"r": 167,
"g": 186,
"b": 43
},
"hsl": {
"h": 67.972,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.74948,
"c": 0.15976,
"h": 117.2
},
"luminance": 0.43508
}Semantic roles & 50–950 ramp
primary
#A7BA2B
secondary
#8277CA
accent
#42E658
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B