#255F2E#255F2E
#255F2E is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.4% C 0.099 H 146.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #255F2E |
|---|---|
| RGB | rgb(37, 95, 46) |
| HSL | hsl(129, 44%, 26%) |
| HSV | hsv(129, 61%, 37%) |
| CMYK | cmyk(61.1%, 0%, 51.6%, 62.7%) |
| CIE-LAB | lab(35.55, -30.59, 22.41) |
| CIE-LCH | lch(35.55, 37.92, 143.77°) |
| OKLab | oklab(43.4% -0.0828 0.0545) |
| OKLCH | oklch(43.4% 0.099 146.7) |
| XYZ | xyz(5.3480, 8.7745, 3.9961) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.15
Forest Green
#2D5A27
ΔE00 2.62
Spruce
#0A5F38
ΔE00 4.10
Hunter Green
#355E3B
ΔE00 4.23
Deep Green
#02590F
ΔE00 5.55
Forest
#0B5509
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255F2E #5F2556
analogous
#395F25 #255F2E #255F4B
triadic
#255F2E #2E255F #5F2E25
tetradic
#255F2E #25395F #5F2556 #5F4B25
square
#255F2E #25395F #5F2556 #5F4B25
split-complementary
#255F2E #4B255F #5F2539
monochromatic
#09160B #143319 #255F2E #368B43 #47B759
Accessibility & contrast
On white
7.62
#255F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#255F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255F2E
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255F2E | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60572A
Deuteranopia (green-blind)
#595231
Tritanopia (blue-blind)
#195D53
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #255f2e; /* rgb */ color: rgb(37, 95, 46); /* oklch */ color: oklch(43.4% 0.099 146.7);
Tailwind
colors: {
custom: {
50: '#668d68',
500: '#255f2e',
950: '#000000',
},
}SCSS
$custom: #255f2e; $custom-light: #668d68; $custom-dark: #000000;
JSON
{
"hex": "#255f2e",
"rgb": {
"r": 37,
"g": 95,
"b": 46
},
"hsl": {
"h": 129.31,
"s": 43.939,
"l": 25.882
},
"oklch": {
"l": 0.43399,
"c": 0.09912,
"h": 146.7
},
"luminance": 0.08775
}Semantic roles & 50–950 ramp
primary
#255F2E
secondary
#924D88
accent
#54C0D4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A