#256C28#256C28
#256C28 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.124 H 143.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #256C28 |
|---|---|
| RGB | rgb(37, 108, 40) |
| HSL | hsl(123, 49%, 28%) |
| HSV | hsv(123, 66%, 42%) |
| CMYK | cmyk(65.7%, 0%, 63%, 57.6%) |
| CIE-LAB | lab(40.03, -36.97, 31.02) |
| CIE-LCH | lch(40.03, 48.26, 140.00°) |
| OKLab | oklab(47.07% -0.1003 0.073) |
| OKLCH | oklch(47.07% 0.124 143.9) |
| XYZ | xyz(6.5081, 11.2710, 3.8396) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.11
Darkish Green
#287C37
ΔE00 5.55
Forest Green
#2D5A27
ΔE00 6.58
Deep Green
#02590F
ΔE00 6.59
Pine
#2B5D34
ΔE00 7.21
Tree Green
#2A7E19
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#256C28 #6C2569
analogous
#456C25 #256C28 #256C4B
triadic
#256C28 #28256C #6C2825
tetradic
#256C28 #25456C #6C2569 #6C4B25
square
#256C28 #25456C #6C2569 #6C4B25
split-complementary
#256C28 #4B256C #6C2545
monochromatic
#081708 #153E17 #256C28 #359A39 #4AC14F
Accessibility & contrast
On white
6.45
#256C28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#256C28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #256C28
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##256C28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##256C28 | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6221
Deuteranopia (green-blind)
#655C2E
Tritanopia (blue-blind)
#16695D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #256c28; /* rgb */ color: rgb(37, 108, 40); /* oklch */ color: oklch(47.1% 0.124 143.9);
Tailwind
colors: {
custom: {
50: '#699764',
500: '#256c28',
950: '#000000',
},
}SCSS
$custom: #256c28; $custom-light: #699764; $custom-dark: #000000;
JSON
{
"hex": "#256c28",
"rgb": {
"r": 37,
"g": 108,
"b": 40
},
"hsl": {
"h": 122.535,
"s": 48.966,
"l": 28.431
},
"oklch": {
"l": 0.4707,
"c": 0.12401,
"h": 143.9
},
"luminance": 0.11272
}Semantic roles & 50–950 ramp
primary
#256C28
secondary
#9F4E9C
accent
#4FD3D9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A