#56A11B#56A11B
#56A11B is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.6% C 0.176 H 135.4°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #56A11B |
|---|---|
| RGB | rgb(86, 161, 27) |
| HSL | hsl(94, 71%, 37%) |
| HSV | hsv(94, 83%, 63%) |
| CMYK | cmyk(46.6%, 0%, 83.2%, 36.9%) |
| CIE-LAB | lab(59.48, -44.84, 56.34) |
| CIE-LCH | lch(59.48, 72.00, 128.52°) |
| OKLab | oklab(63.58% -0.1255 0.1239) |
| OKLCH | oklch(63.58% 0.176 135.4) |
| XYZ | xyz(16.7801, 27.5463, 5.4695) |
| Luminance | 0.2755 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 1.51
Grassy Green
#419C03
ΔE00 2.74
Leaf Green
#5CA904
ΔE00 3.00
Grass Green
#3F9B0B
ΔE00 3.11
Grass
#5CAC2D
ΔE00 3.47
Leaf
#71AA34
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56A11B #661BA1
analogous
#99A11B #56A11B #1BA123
triadic
#56A11B #1B56A1 #A11B56
tetradic
#56A11B #1B99A1 #661BA1 #A1231B
square
#56A11B #1B99A1 #661BA1 #A1231B
split-complementary
#56A11B #231BA1 #A11B99
monochromatic
#1E3809 #3A6D12 #56A11B #72D524 #93E254
Accessibility & contrast
On white
3.23
#56A11B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#56A11B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #56A11B
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56A11B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##56A11B | 1.00 | 3.23 | 6.51 | 6.51 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#539B89
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #56a11b; /* rgb */ color: rgb(86, 161, 27); /* oklch */ color: oklch(63.6% 0.176 135.4);
Tailwind
colors: {
custom: {
50: '#8dbd65',
500: '#56a11b',
950: '#000000',
},
}SCSS
$custom: #56a11b; $custom-light: #8dbd65; $custom-dark: #000000;
JSON
{
"hex": "#56a11b",
"rgb": {
"r": 86,
"g": 161,
"b": 27
},
"hsl": {
"h": 93.582,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.63576,
"c": 0.17631,
"h": 135.4
},
"luminance": 0.27547
}Semantic roles & 50–950 ramp
primary
#56A11B
secondary
#9352C5
accent
#3AEE9F
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1206
muted
#7E817A