#A7BA2C#A7BA2C
#A7BA2C is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.0% C 0.159 H 117.2°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BA2C |
|---|---|
| RGB | rgb(167, 186, 44) |
| HSL | hsl(68, 62%, 45%) |
| HSV | hsv(68, 76%, 73%) |
| CMYK | cmyk(10.2%, 0%, 76.3%, 27.1%) |
| CIE-LAB | lab(71.90, -24.13, 64.46) |
| CIE-LCH | lch(71.90, 68.83, 110.52°) |
| OKLab | oklab(74.95% -0.0729 0.1416) |
| OKLCH | oklch(74.95% 0.159 117.2) |
| XYZ | xyz(33.9507, 43.5156, 8.9932) |
| Luminance | 0.4351 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.94
Sick Green
#9DB92C
ΔE00 2.11
Snot
#ACBB0D
ΔE00 2.34
Gross Green
#A0BF16
ΔE00 2.57
Bright Olive
#9CBB04
ΔE00 2.60
Mustard Green
#A8B504
ΔE00 2.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BA2C #3F2CBA
analogous
#BA862C #A7BA2C #60BA2C
triadic
#A7BA2C #2CA7BA #BA2CA7
tetradic
#A7BA2C #2CBA86 #3F2CBA #BA2C60
square
#A7BA2C #2CBA86 #3F2CBA #BA2C60
split-complementary
#A7BA2C #2C60BA #862CBA
monochromatic
#4E5715 #7B8920 #A7BA2C #C3D54E #D4E180
Accessibility & contrast
On white
2.16
#A7BA2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#A7BA2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BA2C
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BA2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BA2C | 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)
#C7B005
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#B2AF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a7ba2c; /* rgb */ color: rgb(167, 186, 44); /* oklch */ color: oklch(75.0% 0.159 117.2);
Tailwind
colors: {
custom: {
50: '#c5ce71',
500: '#a7ba2c',
950: '#000000',
},
}SCSS
$custom: #a7ba2c; $custom-light: #c5ce71; $custom-dark: #000000;
JSON
{
"hex": "#a7ba2c",
"rgb": {
"r": 167,
"g": 186,
"b": 44
},
"hsl": {
"h": 68.028,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.74954,
"c": 0.15925,
"h": 117.2
},
"luminance": 0.43515
}Semantic roles & 50–950 ramp
primary
#A7BA2C
secondary
#8378CA
accent
#43E559
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B