#56A01F#56A01F
#56A01F is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.3% C 0.173 H 135.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #56A01F |
|---|---|
| RGB | rgb(86, 160, 31) |
| HSL | hsl(94, 68%, 37%) |
| HSV | hsv(94, 81%, 63%) |
| CMYK | cmyk(46.3%, 0%, 80.6%, 37.3%) |
| CIE-LAB | lab(59.18, -44.24, 54.92) |
| CIE-LCH | lch(59.18, 70.52, 128.85°) |
| OKLab | oklab(63.33% -0.1236 0.1215) |
| OKLCH | oklch(63.33% 0.173 135.5) |
| XYZ | xyz(16.6555, 27.2179, 5.6720) |
| Luminance | 0.2722 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 1.89
Grassy Green
#419C03
ΔE00 2.64
Grass Green
#3F9B0B
ΔE00 2.93
Leaf Green
#5CA904
ΔE00 3.45
Grass
#5CAC2D
ΔE00 3.68
Leaf
#71AA34
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56A01F #691FA0
analogous
#96A01F #56A01F #1FA029
triadic
#56A01F #1F56A0 #A01F56
tetradic
#56A01F #1F96A0 #691FA0 #A0291F
square
#56A01F #1F96A0 #691FA0 #A0291F
split-complementary
#56A01F #291FA0 #A01F96
monochromatic
#1F390B #3A6D15 #56A01F #72D329 #93DF5A
Accessibility & contrast
On white
3.26
#56A01F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#56A01F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #56A01F
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56A01F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##56A01F | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#539A88
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #56a01f; /* rgb */ color: rgb(86, 160, 31); /* oklch */ color: oklch(63.3% 0.173 135.5);
Tailwind
colors: {
custom: {
50: '#8dbd66',
500: '#56a01f',
950: '#000000',
},
}SCSS
$custom: #56a01f; $custom-light: #8dbd66; $custom-dark: #000000;
JSON
{
"hex": "#56a01f",
"rgb": {
"r": 86,
"g": 160,
"b": 31
},
"hsl": {
"h": 94.419,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.63335,
"c": 0.17333,
"h": 135.5
},
"luminance": 0.27219
}Semantic roles & 50–950 ramp
primary
#56A01F
secondary
#9558C3
accent
#3DEAA1
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A