#A8BA30#A8BA30
#A8BA30 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.1% C 0.157 H 116.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A8BA30 |
|---|---|
| RGB | rgb(168, 186, 48) |
| HSL | hsl(68, 59%, 46%) |
| HSV | hsv(68, 74%, 73%) |
| CMYK | cmyk(9.7%, 0%, 74.2%, 27.1%) |
| CIE-LAB | lab(72.00, -23.53, 63.27) |
| CIE-LCH | lch(72.00, 67.50, 110.40°) |
| OKLab | oklab(75.06% -0.0709 0.1397) |
| OKLCH | oklch(75.06% 0.157 116.9) |
| XYZ | xyz(34.2417, 43.6565, 9.4184) |
| Luminance | 0.4366 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.18
Sick Green
#9DB92C
ΔE00 2.23
Snot
#ACBB0D
ΔE00 2.51
Gross Green
#A0BF16
ΔE00 2.84
Mustard Green
#A8B504
ΔE00 2.88
Bright Olive
#9CBB04
ΔE00 2.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8BA30 #4230BA
analogous
#BA8730 #A8BA30 #63BA30
triadic
#A8BA30 #30A8BA #BA30A8
tetradic
#A8BA30 #30BA87 #4230BA #BA3063
square
#A8BA30 #30BA87 #4230BA #BA3063
split-complementary
#A8BA30 #3063BA #8730BA
monochromatic
#505917 #7C8923 #A8BA30 #C2D354 #D4DF85
Accessibility & contrast
On white
2.16
#A8BA30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#A8BA30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8BA30
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8BA30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8BA30 | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B012
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#B3AFA0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a8ba30; /* rgb */ color: rgb(168, 186, 48); /* oklch */ color: oklch(75.1% 0.157 116.9);
Tailwind
colors: {
custom: {
50: '#c5ce73',
500: '#a8ba30',
950: '#000000',
},
}SCSS
$custom: #a8ba30; $custom-light: #c5ce73; $custom-dark: #000000;
JSON
{
"hex": "#a8ba30",
"rgb": {
"r": 168,
"g": 186,
"b": 48
},
"hsl": {
"h": 67.826,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.75055,
"c": 0.15671,
"h": 116.9
},
"luminance": 0.43656
}Semantic roles & 50–950 ramp
primary
#A8BA30
secondary
#877DC9
accent
#46E25A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B