#255E40#255E40
#255E40 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.078 H 157.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #255E40 |
|---|---|
| RGB | rgb(37, 94, 64) |
| HSL | hsl(148, 44%, 26%) |
| HSV | hsv(148, 61%, 37%) |
| CMYK | cmyk(60.6%, 0%, 31.9%, 63.1%) |
| CIE-LAB | lab(35.53, -26.53, 11.73) |
| CIE-LCH | lch(35.53, 29.01, 156.14°) |
| OKLab | oklab(43.5% -0.0724 0.0298) |
| OKLCH | oklch(43.5% 0.078 157.7) |
| XYZ | xyz(5.6906, 8.7684, 6.2421) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.37
Hunter Green
#355E3B
ΔE00 3.45
Pine
#2B5D34
ΔE00 3.81
Forest Green
#2D5A27
ΔE00 6.97
Dark Green Blue
#1F6357
ΔE00 7.44
Evergreen
#05472A
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255E40 #5E2543
analogous
#265E25 #255E40 #255E5C
triadic
#255E40 #40255E #5E4025
tetradic
#255E40 #25265E #5E2543 #5E5C25
square
#255E40 #25265E #5E2543 #5E5C25
split-complementary
#255E40 #5C255E #5E2526
monochromatic
#09160F #143222 #255E40 #368A5E #48B67C
Accessibility & contrast
On white
7.63
#255E40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#255E40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255E40
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255E40 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D573E
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#115D56
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #255e40; /* rgb */ color: rgb(37, 94, 64); /* oklch */ color: oklch(43.5% 0.078 157.7);
Tailwind
colors: {
custom: {
50: '#658c75',
500: '#255e40',
950: '#000000',
},
}SCSS
$custom: #255e40; $custom-light: #658c75; $custom-dark: #000000;
JSON
{
"hex": "#255e40",
"rgb": {
"r": 37,
"g": 94,
"b": 64
},
"hsl": {
"h": 148.421,
"s": 43.511,
"l": 25.686
},
"oklch": {
"l": 0.435,
"c": 0.07833,
"h": 157.7
},
"luminance": 0.08769
}Semantic roles & 50–950 ramp
primary
#255E40
secondary
#914D71
accent
#5597D3
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B