#A8BA33#A8BA33
#A8BA33 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.1% C 0.155 H 117.0°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A8BA33 |
|---|---|
| RGB | rgb(168, 186, 51) |
| HSL | hsl(68, 57%, 46%) |
| HSV | hsv(68, 73%, 73%) |
| CMYK | cmyk(9.7%, 0%, 72.6%, 27.1%) |
| CIE-LAB | lab(72.02, -23.38, 62.26) |
| CIE-LCH | lch(72.02, 66.50, 110.58°) |
| OKLab | oklab(75.08% -0.0703 0.1381) |
| OKLCH | oklch(75.08% 0.155 117) |
| XYZ | xyz(34.3057, 43.6821, 9.7556) |
| Luminance | 0.4368 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.19
Pea
#A4BF20
ΔE00 2.31
Snot
#ACBB0D
ΔE00 2.77
Gross Green
#A0BF16
ΔE00 2.96
Bright Olive
#9CBB04
ΔE00 3.07
Mustard Green
#A8B504
ΔE00 3.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8BA33 #4533BA
analogous
#BA8933 #A8BA33 #65BA33
triadic
#A8BA33 #33A8BA #BA33A8
tetradic
#A8BA33 #33BA89 #4533BA #BA3365
square
#A8BA33 #33BA89 #4533BA #BA3365
split-complementary
#A8BA33 #3365BA #8933BA
monochromatic
#515A19 #7D8A26 #A8BA33 #C1D159 #D3DF89
Accessibility & contrast
On white
2.16
#A8BA33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#A8BA33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8BA33
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8BA33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8BA33 | 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)
#C7B019
Deuteranopia (green-blind)
#C5B13E
Tritanopia (blue-blind)
#B3AFA0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a8ba33; /* rgb */ color: rgb(168, 186, 51); /* oklch */ color: oklch(75.1% 0.155 117.0);
Tailwind
colors: {
custom: {
50: '#c5ce74',
500: '#a8ba33',
950: '#000000',
},
}SCSS
$custom: #a8ba33; $custom-light: #c5ce74; $custom-dark: #000000;
JSON
{
"hex": "#a8ba33",
"rgb": {
"r": 168,
"g": 186,
"b": 51
},
"hsl": {
"h": 68,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.75075,
"c": 0.15496,
"h": 117
},
"luminance": 0.43682
}Semantic roles & 50–950 ramp
primary
#A8BA33
secondary
#8A80C9
accent
#48E05C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B