#A8BC40#A8BC40
#A8BC40 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.6% C 0.149 H 118.0°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A8BC40 |
|---|---|
| RGB | rgb(168, 188, 64) |
| HSL | hsl(70, 49%, 49%) |
| HSV | hsv(70, 66%, 74%) |
| CMYK | cmyk(10.6%, 0%, 66%, 26.3%) |
| CIE-LAB | lab(72.67, -23.61, 58.00) |
| CIE-LCH | lch(72.67, 62.62, 112.15°) |
| OKLab | oklab(75.63% -0.0697 0.1312) |
| OKLCH | oklch(75.63% 0.149 118) |
| XYZ | xyz(35.0578, 44.6618, 11.6232) |
| Luminance | 0.4466 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.31
Booger
#9BB53C
ΔE00 2.68
Pea
#A4BF20
ΔE00 2.89
Gross Green
#A0BF16
ΔE00 3.46
Bright Olive
#9CBB04
ΔE00 3.81
Snot
#ACBB0D
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8BC40 #5440BC
analogous
#BC9240 #A8BC40 #6ABC40
triadic
#A8BC40 #40A8BC #BC40A8
tetradic
#A8BC40 #40BC92 #5440BC #BC406A
square
#A8BC40 #40BC92 #5440BC #BC406A
split-complementary
#A8BC40 #406ABC #9240BC
monochromatic
#566121 #7F8E30 #A8BC40 #BDCD6C #D2DD9A
Accessibility & contrast
On white
2.11
#A8BC40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.93
#A8BC40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8BC40
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8BC40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8BC40 | 1.00 | 2.11 | 9.93 | 9.93 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B22F
Deuteranopia (green-blind)
#C6B349
Tritanopia (blue-blind)
#B2B2A3
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #a8bc40; /* rgb */ color: rgb(168, 188, 64); /* oklch */ color: oklch(75.6% 0.149 118.0);
Tailwind
colors: {
custom: {
50: '#c5d07b',
500: '#a8bc40',
950: '#000000',
},
}SCSS
$custom: #a8bc40; $custom-light: #c5d07b; $custom-dark: #000000;
JSON
{
"hex": "#a8bc40",
"rgb": {
"r": 168,
"g": 188,
"b": 64
},
"hsl": {
"h": 69.677,
"s": 49.206,
"l": 49.412
},
"oklch": {
"l": 0.75627,
"c": 0.14859,
"h": 118
},
"luminance": 0.44661
}Semantic roles & 50–950 ramp
primary
#A8BC40
secondary
#998FC9
accent
#4FD965
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C