#A7BA45#A7BA45
#A7BA45 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.1% C 0.143 H 117.8°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BA45 |
|---|---|
| RGB | rgb(167, 186, 69) |
| HSL | hsl(70, 46%, 50%) |
| HSV | hsv(70, 63%, 73%) |
| CMYK | cmyk(10.2%, 0%, 62.9%, 27.1%) |
| CIE-LAB | lab(72.07, -22.70, 55.28) |
| CIE-LCH | lch(72.07, 59.76, 112.33°) |
| OKLab | oklab(75.14% -0.0666 0.1262) |
| OKLCH | oklch(75.14% 0.143 117.8) |
| XYZ | xyz(34.5701, 43.7633, 12.2551) |
| Luminance | 0.4376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.30
Sick Green
#9DB92C
ΔE00 2.68
Light Olive Green
#A4BE5C
ΔE00 3.63
Pea
#A4BF20
ΔE00 3.70
Gross Green
#A0BF16
ΔE00 4.22
Sickly Green
#94B21C
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BA45 #5845BA
analogous
#BA9345 #A7BA45 #6CBA45
triadic
#A7BA45 #45A7BA #BA45A7
tetradic
#A7BA45 #45BA93 #5845BA #BA456C
square
#A7BA45 #45BA93 #5845BA #BA456C
split-complementary
#A7BA45 #456CBA #9345BA
monochromatic
#576124 #7F8D34 #A7BA45 #BCCB72 #D1DB9E
Accessibility & contrast
On white
2.15
#A7BA45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#A7BA45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BA45
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BA45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BA45 | 1.00 | 2.15 | 9.75 | 9.75 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B036
Deuteranopia (green-blind)
#C4B14D
Tritanopia (blue-blind)
#B0B0A2
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a7ba45; /* rgb */ color: rgb(167, 186, 69); /* oklch */ color: oklch(75.1% 0.143 117.8);
Tailwind
colors: {
custom: {
50: '#c4ce7e',
500: '#a7ba45',
950: '#000000',
},
}SCSS
$custom: #a7ba45; $custom-light: #c4ce7e; $custom-dark: #000000;
JSON
{
"hex": "#a7ba45",
"rgb": {
"r": 167,
"g": 186,
"b": 69
},
"hsl": {
"h": 69.744,
"s": 45.882,
"l": 50
},
"oklch": {
"l": 0.75141,
"c": 0.14271,
"h": 117.8
},
"luminance": 0.43763
}Semantic roles & 50–950 ramp
primary
#A7BA45
secondary
#9C93C8
accent
#52D668
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C