#255F40#255F40
#255F40 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.8% C 0.080 H 157.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #255F40 |
|---|---|
| RGB | rgb(37, 95, 64) |
| HSL | hsl(148, 44%, 26%) |
| HSV | hsv(148, 61%, 37%) |
| CMYK | cmyk(61.1%, 0%, 32.6%, 62.7%) |
| CIE-LAB | lab(35.88, -27.01, 12.21) |
| CIE-LCH | lch(35.88, 29.64, 155.67°) |
| OKLab | oklab(43.79% -0.0737 0.031) |
| OKLCH | oklch(43.79% 0.08 157.2) |
| XYZ | xyz(5.7801, 8.9474, 6.2719) |
| Luminance | 0.0895 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.13
Hunter Green
#355E3B
ΔE00 3.37
Pine
#2B5D34
ΔE00 3.63
Forest Green
#2D5A27
ΔE00 6.82
Dark Green Blue
#1F6357
ΔE00 7.64
Evergreen
#05472A
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255F40 #5F2544
analogous
#275F25 #255F40 #255F5D
triadic
#255F40 #40255F #5F4025
tetradic
#255F40 #25275F #5F2544 #5F5D25
square
#255F40 #25275F #5F2544 #5F5D25
split-complementary
#255F40 #5D255F #5F2527
monochromatic
#09160F #143322 #255F40 #368B5E #47B77B
Accessibility & contrast
On white
7.53
#255F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#255F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255F40
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255F40 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E583E
Deuteranopia (green-blind)
#565242
Tritanopia (blue-blind)
#105E57
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #255f40; /* rgb */ color: rgb(37, 95, 64); /* oklch */ color: oklch(43.8% 0.080 157.2);
Tailwind
colors: {
custom: {
50: '#658d75',
500: '#255f40',
950: '#000000',
},
}SCSS
$custom: #255f40; $custom-light: #658d75; $custom-dark: #000000;
JSON
{
"hex": "#255f40",
"rgb": {
"r": 37,
"g": 95,
"b": 64
},
"hsl": {
"h": 147.931,
"s": 43.939,
"l": 25.882
},
"oklch": {
"l": 0.43785,
"c": 0.07993,
"h": 157.2
},
"luminance": 0.08948
}Semantic roles & 50–950 ramp
primary
#255F40
secondary
#924D72
accent
#5498D4
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B