#A8BA2F#A8BA2F
#A8BA2F is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.0% C 0.157 H 116.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A8BA2F |
|---|---|
| RGB | rgb(168, 186, 47) |
| HSL | hsl(68, 60%, 46%) |
| HSV | hsv(68, 75%, 73%) |
| CMYK | cmyk(9.7%, 0%, 74.7%, 27.1%) |
| CIE-LAB | lab(71.99, -23.57, 63.60) |
| CIE-LCH | lch(71.99, 67.83, 110.34°) |
| OKLab | oklab(75.05% -0.0711 0.1403) |
| OKLCH | oklch(75.05% 0.157 116.9) |
| XYZ | xyz(34.2213, 43.6483, 9.3110) |
| Luminance | 0.4365 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.15
Sick Green
#9DB92C
ΔE00 2.25
Snot
#ACBB0D
ΔE00 2.43
Gross Green
#A0BF16
ΔE00 2.80
Mustard Green
#A8B504
ΔE00 2.81
Bright Olive
#9CBB04
ΔE00 2.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8BA2F #412FBA
analogous
#BA862F #A8BA2F #62BA2F
triadic
#A8BA2F #2FA8BA #BA2FA8
tetradic
#A8BA2F #2FBA86 #412FBA #BA2F62
square
#A8BA2F #2FBA86 #412FBA #BA2F62
split-complementary
#A8BA2F #2F62BA #862FBA
monochromatic
#505816 #7C8923 #A8BA2F #C3D353 #D4E084
Accessibility & contrast
On white
2.16
#A8BA2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#A8BA2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8BA2F
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8BA2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8BA2F | 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)
#C7B00F
Deuteranopia (green-blind)
#C5B13B
Tritanopia (blue-blind)
#B3AFA0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a8ba2f; /* rgb */ color: rgb(168, 186, 47); /* oklch */ color: oklch(75.0% 0.157 116.9);
Tailwind
colors: {
custom: {
50: '#c5ce72',
500: '#a8ba2f',
950: '#000000',
},
}SCSS
$custom: #a8ba2f; $custom-light: #c5ce72; $custom-dark: #000000;
JSON
{
"hex": "#a8ba2f",
"rgb": {
"r": 168,
"g": 186,
"b": 47
},
"hsl": {
"h": 67.77,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.75049,
"c": 0.15727,
"h": 116.9
},
"luminance": 0.43648
}Semantic roles & 50–950 ramp
primary
#A8BA2F
secondary
#867CC9
accent
#45E359
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B