#A7BA28#A7BA28
#A7BA28 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 74.9% C 0.161 H 117.2°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BA28 |
|---|---|
| RGB | rgb(167, 186, 40) |
| HSL | hsl(68, 65%, 44%) |
| HSV | hsv(68, 78%, 73%) |
| CMYK | cmyk(10.2%, 0%, 78.5%, 27.1%) |
| CIE-LAB | lab(71.88, -24.30, 65.66) |
| CIE-LCH | lch(71.88, 70.01, 110.31°) |
| OKLab | oklab(74.93% -0.0736 0.1435) |
| OKLCH | oklch(74.93% 0.161 117.2) |
| XYZ | xyz(33.8791, 43.4869, 8.6161) |
| Luminance | 0.4349 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.86
Snot
#ACBB0D
ΔE00 2.06
Sick Green
#9DB92C
ΔE00 2.25
Bright Olive
#9CBB04
ΔE00 2.47
Gross Green
#A0BF16
ΔE00 2.48
Mustard Green
#A8B504
ΔE00 2.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BA28 #3B28BA
analogous
#BA8428 #A7BA28 #5EBA28
triadic
#A7BA28 #28A7BA #BA28A7
tetradic
#A7BA28 #28BA84 #3B28BA #BA285E
square
#A7BA28 #28BA84 #3B28BA #BA285E
split-complementary
#A7BA28 #285EBA #8428BA
monochromatic
#4D5512 #7A881D #A7BA28 #C5D848 #D5E27A
Accessibility & contrast
On white
2.17
#A7BA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#A7BA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BA28
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BA28 | 1.00 | 2.17 | 9.70 | 9.70 |
| #FFFFFF | 2.17 | 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)
#C7B000
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#B2AF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a7ba28; /* rgb */ color: rgb(167, 186, 40); /* oklch */ color: oklch(74.9% 0.161 117.2);
Tailwind
colors: {
custom: {
50: '#c5ce6f',
500: '#a7ba28',
950: '#000000',
},
}SCSS
$custom: #a7ba28; $custom-light: #c5ce6f; $custom-dark: #000000;
JSON
{
"hex": "#a7ba28",
"rgb": {
"r": 167,
"g": 186,
"b": 40
},
"hsl": {
"h": 67.808,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.74932,
"c": 0.16125,
"h": 117.2
},
"luminance": 0.43487
}Semantic roles & 50–950 ramp
primary
#A7BA28
secondary
#7F73CA
accent
#40E856
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B