#56A51F#56A51F
#56A51F is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 64.6% C 0.179 H 136.0°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #56A51F |
|---|---|
| RGB | rgb(86, 165, 31) |
| HSL | hsl(95, 68%, 38%) |
| HSV | hsv(95, 81%, 65%) |
| CMYK | cmyk(47.9%, 0%, 81.2%, 35.3%) |
| CIE-LAB | lab(60.77, -46.24, 56.39) |
| CIE-LCH | lch(60.77, 72.93, 129.35°) |
| OKLab | oklab(64.65% -0.129 0.1246) |
| OKLCH | oklch(64.65% 0.179 136) |
| XYZ | xyz(17.5397, 28.9865, 5.9668) |
| Luminance | 0.2899 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 1.32
Grass
#5CAC2D
ΔE00 2.28
Leaf Green
#5CA904
ΔE00 2.33
Grassy Green
#419C03
ΔE00 3.56
Leaf
#71AA34
ΔE00 3.78
Grass Green
#3F9B0B
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56A51F #6E1FA5
analogous
#99A51F #56A51F #1FA52B
triadic
#56A51F #1F56A5 #A51F56
tetradic
#56A51F #1F99A5 #6E1FA5 #A52B1F
square
#56A51F #1F99A5 #6E1FA5 #A52B1F
split-complementary
#56A51F #2B1FA5 #A51F99
monochromatic
#203E0C #3B7115 #56A51F #71D72A #93E15E
Accessibility & contrast
On white
3.09
#56A51F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.80
#56A51F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #56A51F
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56A51F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##56A51F | 1.00 | 3.09 | 6.80 | 6.80 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A1902F
Tritanopia (blue-blind)
#539F8D
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #56a51f; /* rgb */ color: rgb(86, 165, 31); /* oklch */ color: oklch(64.6% 0.179 136.0);
Tailwind
colors: {
custom: {
50: '#8dc067',
500: '#56a51f',
950: '#000000',
},
}SCSS
$custom: #56a51f; $custom-light: #8dc067; $custom-dark: #000000;
JSON
{
"hex": "#56a51f",
"rgb": {
"r": 86,
"g": 165,
"b": 31
},
"hsl": {
"h": 95.373,
"s": 68.367,
"l": 38.431
},
"oklch": {
"l": 0.64645,
"c": 0.17934,
"h": 136
},
"luminance": 0.28988
}Semantic roles & 50–950 ramp
primary
#56A51F
secondary
#995BC5
accent
#3DEBA4
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A