#256D1F#256D1F
#256D1F is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.3% C 0.133 H 142.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #256D1F |
|---|---|
| RGB | rgb(37, 109, 31) |
| HSL | hsl(115, 56%, 27%) |
| HSV | hsv(115, 72%, 43%) |
| CMYK | cmyk(66.1%, 0%, 71.6%, 57.3%) |
| CIE-LAB | lab(40.29, -38.40, 35.59) |
| CIE-LCH | lch(40.29, 52.36, 137.17°) |
| OKLab | oklab(47.26% -0.1046 0.0817) |
| OKLCH | oklch(47.26% 0.133 142) |
| XYZ | xyz(6.4786, 11.4289, 3.1606) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.20
Darkish Green
#287C37
ΔE00 5.78
Tree Green
#2A7E19
ΔE00 6.28
Deep Green
#02590F
ΔE00 6.79
Forest Green
#2D5A27
ΔE00 7.51
Green
#008000
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#256D1F #671F6D
analogous
#4C6D1F #256D1F #1F6D40
triadic
#256D1F #1F256D #6D1F25
tetradic
#256D1F #1F4C6D #671F6D #6D401F
square
#256D1F #1F4C6D #671F6D #6D401F
split-complementary
#256D1F #401F6D #6D1F4C
monochromatic
#081807 #153D11 #256D1F #359D2D #49C83E
Accessibility & contrast
On white
6.39
#256D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#256D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #256D1F
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##256D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##256D1F | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#675D26
Tritanopia (blue-blind)
#186A5D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #256d1f; /* rgb */ color: rgb(37, 109, 31); /* oklch */ color: oklch(47.3% 0.133 142.0);
Tailwind
colors: {
custom: {
50: '#6a985f',
500: '#256d1f',
950: '#000000',
},
}SCSS
$custom: #256d1f; $custom-light: #6a985f; $custom-dark: #000000;
JSON
{
"hex": "#256d1f",
"rgb": {
"r": 37,
"g": 109,
"b": 31
},
"hsl": {
"h": 115.385,
"s": 55.714,
"l": 27.451
},
"oklch": {
"l": 0.47257,
"c": 0.13274,
"h": 142
},
"luminance": 0.1143
}Semantic roles & 50–950 ramp
primary
#256D1F
secondary
#9A47A1
accent
#49DFD3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79