#255F2B#255F2B
#255F2B is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.3% C 0.102 H 145.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #255F2B |
|---|---|
| RGB | rgb(37, 95, 43) |
| HSL | hsl(126, 44%, 26%) |
| HSV | hsv(126, 61%, 37%) |
| CMYK | cmyk(61.1%, 0%, 54.7%, 62.7%) |
| CIE-LAB | lab(35.50, -31.08, 24.04) |
| CIE-LCH | lch(35.50, 39.29, 142.27°) |
| OKLab | oklab(43.35% -0.0842 0.058) |
| OKLCH | oklch(43.35% 0.102 145.5) |
| XYZ | xyz(5.2909, 8.7517, 3.6955) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.35
Pine
#2B5D34
ΔE00 2.80
Spruce
#0A5F38
ΔE00 4.73
Hunter Green
#355E3B
ΔE00 4.80
Deep Green
#02590F
ΔE00 4.95
Forest
#0B5509
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255F2B #5F2559
analogous
#3C5F25 #255F2B #255F48
triadic
#255F2B #2B255F #5F2B25
tetradic
#255F2B #253C5F #5F2559 #5F4825
square
#255F2B #253C5F #5F2559 #5F4825
split-complementary
#255F2B #48255F #5F253C
monochromatic
#09160A #143317 #255F2B #368B3F #47B753
Accessibility & contrast
On white
7.64
#255F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#255F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255F2B
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255F2B | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615727
Deuteranopia (green-blind)
#59512F
Tritanopia (blue-blind)
#1A5D53
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #255f2b; /* rgb */ color: rgb(37, 95, 43); /* oklch */ color: oklch(43.3% 0.102 145.5);
Tailwind
colors: {
custom: {
50: '#668d65',
500: '#255f2b',
950: '#000000',
},
}SCSS
$custom: #255f2b; $custom-light: #668d65; $custom-dark: #000000;
JSON
{
"hex": "#255f2b",
"rgb": {
"r": 37,
"g": 95,
"b": 43
},
"hsl": {
"h": 126.207,
"s": 43.939,
"l": 25.882
},
"oklch": {
"l": 0.43348,
"c": 0.10223,
"h": 145.5
},
"luminance": 0.08752
}Semantic roles & 50–950 ramp
primary
#255F2B
secondary
#924D8B
accent
#54C6D4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A