#A8BA2B#A8BA2B
#A8BA2B is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.0% C 0.159 H 116.8°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A8BA2B |
|---|---|
| RGB | rgb(168, 186, 43) |
| HSL | hsl(68, 62%, 45%) |
| HSV | hsv(68, 77%, 73%) |
| CMYK | cmyk(9.7%, 0%, 76.9%, 27.1%) |
| CIE-LAB | lab(71.97, -23.75, 64.86) |
| CIE-LCH | lch(71.97, 69.07, 110.11°) |
| OKLab | oklab(75.03% -0.0719 0.1422) |
| OKLCH | oklch(75.03% 0.159 116.8) |
| XYZ | xyz(34.1443, 43.6175, 8.9053) |
| Luminance | 0.4362 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.05
Snot
#ACBB0D
ΔE00 2.11
Sick Green
#9DB92C
ΔE00 2.37
Mustard Green
#A8B504
ΔE00 2.54
Gross Green
#A0BF16
ΔE00 2.70
Bright Olive
#9CBB04
ΔE00 2.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8BA2B #3D2BBA
analogous
#BA842B #A8BA2B #61BA2B
triadic
#A8BA2B #2BA8BA #BA2BA8
tetradic
#A8BA2B #2BBA84 #3D2BBA #BA2B61
square
#A8BA2B #2BBA84 #3D2BBA #BA2B61
split-complementary
#A8BA2B #2B61BA #842BBA
monochromatic
#4E5714 #7B8820 #A8BA2B #C4D64C #D5E17E
Accessibility & contrast
On white
2.16
#A8BA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#A8BA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8BA2B
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8BA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8BA2B | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B001
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#B3AF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a8ba2b; /* rgb */ color: rgb(168, 186, 43); /* oklch */ color: oklch(75.0% 0.159 116.8);
Tailwind
colors: {
custom: {
50: '#c6ce70',
500: '#a8ba2b',
950: '#000000',
},
}SCSS
$custom: #a8ba2b; $custom-light: #c6ce70; $custom-dark: #000000;
JSON
{
"hex": "#a8ba2b",
"rgb": {
"r": 168,
"g": 186,
"b": 43
},
"hsl": {
"h": 67.552,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.75026,
"c": 0.1594,
"h": 116.8
},
"luminance": 0.43617
}Semantic roles & 50–950 ramp
primary
#A8BA2B
secondary
#8177CA
accent
#42E657
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B