#A8BA37#A8BA37
#A8BA37 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.1% C 0.152 H 117.0°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A8BA37 |
|---|---|
| RGB | rgb(168, 186, 55) |
| HSL | hsl(68, 54%, 47%) |
| HSV | hsv(68, 70%, 73%) |
| CMYK | cmyk(9.7%, 0%, 70.4%, 27.1%) |
| CIE-LAB | lab(72.04, -23.17, 60.84) |
| CIE-LCH | lch(72.04, 65.10, 110.85°) |
| OKLab | oklab(75.1% -0.0693 0.1358) |
| OKLCH | oklch(75.1% 0.152 117) |
| XYZ | xyz(34.3977, 43.7189, 10.2402) |
| Luminance | 0.4372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.18
Pea
#A4BF20
ΔE00 2.53
Booger
#9BB53C
ΔE00 2.96
Snot
#ACBB0D
ΔE00 3.14
Gross Green
#A0BF16
ΔE00 3.16
Bright Olive
#9CBB04
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8BA37 #4937BA
analogous
#BA8A37 #A8BA37 #67BA37
triadic
#A8BA37 #37A8BA #BA37A8
tetradic
#A8BA37 #37BA8A #4937BA #BA3767
square
#A8BA37 #37BA8A #4937BA #BA3767
split-complementary
#A8BA37 #3767BA #8A37BA
monochromatic
#535C1B #7D8B29 #A8BA37 #C0D05F #D3DE8E
Accessibility & contrast
On white
2.16
#A8BA37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#A8BA37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8BA37
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8BA37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8BA37 | 1.00 | 2.16 | 9.74 | 9.74 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B021
Deuteranopia (green-blind)
#C5B141
Tritanopia (blue-blind)
#B2B0A0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a8ba37; /* rgb */ color: rgb(168, 186, 55); /* oklch */ color: oklch(75.1% 0.152 117.0);
Tailwind
colors: {
custom: {
50: '#c5ce76',
500: '#a8ba37',
950: '#000000',
},
}SCSS
$custom: #a8ba37; $custom-light: #c5ce76; $custom-dark: #000000;
JSON
{
"hex": "#a8ba37",
"rgb": {
"r": 168,
"g": 186,
"b": 55
},
"hsl": {
"h": 68.244,
"s": 54.357,
"l": 47.255
},
"oklch": {
"l": 0.75103,
"c": 0.15246,
"h": 117
},
"luminance": 0.43718
}Semantic roles & 50–950 ramp
primary
#A8BA37
secondary
#8E85C8
accent
#4ADE5E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B