#A6BC2B#A6BC2B
#A6BC2B is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.3% C 0.162 H 118.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BC2B |
|---|---|
| RGB | rgb(166, 188, 43) |
| HSL | hsl(69, 63%, 45%) |
| HSV | hsv(69, 77%, 74%) |
| CMYK | cmyk(11.7%, 0%, 77.1%, 26.3%) |
| CIE-LAB | lab(72.39, -25.57, 65.20) |
| CIE-LCH | lch(72.39, 70.03, 111.41°) |
| OKLab | oklab(75.33% -0.0768 0.143) |
| OKLCH | oklch(75.33% 0.162 118.2) |
| XYZ | xyz(34.1459, 44.2482, 9.0270) |
| Luminance | 0.4425 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.27
Sick Green
#9DB92C
ΔE00 1.83
Gross Green
#A0BF16
ΔE00 1.92
Bright Olive
#9CBB04
ΔE00 2.18
Snot
#ACBB0D
ΔE00 2.58
Snot Green
#9DC100
ΔE00 2.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BC2B #412BBC
analogous
#BC892B #A6BC2B #5EBC2B
triadic
#A6BC2B #2BA6BC #BC2BA6
tetradic
#A6BC2B #2BBC89 #412BBC #BC2B5E
square
#A6BC2B #2BBC89 #412BBC #BC2B5E
split-complementary
#A6BC2B #2B5EBC #892BBC
monochromatic
#4E5814 #7A8A20 #A6BC2B #C2D64E #D3E280
Accessibility & contrast
On white
2.13
#A6BC2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#A6BC2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BC2B
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BC2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BC2B | 1.00 | 2.13 | 9.85 | 9.85 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#B0B1A1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #a6bc2b; /* rgb */ color: rgb(166, 188, 43); /* oklch */ color: oklch(75.3% 0.162 118.2);
Tailwind
colors: {
custom: {
50: '#c4d071',
500: '#a6bc2b',
950: '#000000',
},
}SCSS
$custom: #a6bc2b; $custom-light: #c4d071; $custom-dark: #000000;
JSON
{
"hex": "#a6bc2b",
"rgb": {
"r": 166,
"g": 188,
"b": 43
},
"hsl": {
"h": 69.103,
"s": 62.771,
"l": 45.294
},
"oklch": {
"l": 0.75329,
"c": 0.16235,
"h": 118.2
},
"luminance": 0.44248
}Semantic roles & 50–950 ramp
primary
#A6BC2B
secondary
#8578CB
accent
#42E65B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B