#255F2C#255F2C
#255F2C is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.4% C 0.101 H 145.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #255F2C |
|---|---|
| RGB | rgb(37, 95, 44) |
| HSL | hsl(127, 44%, 26%) |
| HSV | hsv(127, 61%, 37%) |
| CMYK | cmyk(61.1%, 0%, 53.7%, 62.7%) |
| CIE-LAB | lab(35.52, -30.92, 23.50) |
| CIE-LCH | lch(35.52, 38.84, 142.76°) |
| OKLab | oklab(43.36% -0.0837 0.0568) |
| OKLCH | oklch(43.36% 0.101 145.8) |
| XYZ | xyz(5.3095, 8.7591, 3.7933) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.42
Pine
#2B5D34
ΔE00 2.58
Spruce
#0A5F38
ΔE00 4.52
Hunter Green
#355E3B
ΔE00 4.61
Deep Green
#02590F
ΔE00 5.15
Forest
#0B5509
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255F2C #5F2558
analogous
#3B5F25 #255F2C #255F49
triadic
#255F2C #2C255F #5F2C25
tetradic
#255F2C #253B5F #5F2558 #5F4925
square
#255F2C #253B5F #5F2558 #5F4925
split-complementary
#255F2C #49255F #5F253B
monochromatic
#09160A #143318 #255F2C #368B40 #47B755
Accessibility & contrast
On white
7.63
#255F2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#255F2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255F2C
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255F2C | 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)
#605728
Deuteranopia (green-blind)
#595230
Tritanopia (blue-blind)
#195D53
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #255f2c; /* rgb */ color: rgb(37, 95, 44); /* oklch */ color: oklch(43.4% 0.101 145.8);
Tailwind
colors: {
custom: {
50: '#668d66',
500: '#255f2c',
950: '#000000',
},
}SCSS
$custom: #255f2c; $custom-light: #668d66; $custom-dark: #000000;
JSON
{
"hex": "#255f2c",
"rgb": {
"r": 37,
"g": 95,
"b": 44
},
"hsl": {
"h": 127.241,
"s": 43.939,
"l": 25.882
},
"oklch": {
"l": 0.43364,
"c": 0.1012,
"h": 145.8
},
"luminance": 0.0876
}Semantic roles & 50–950 ramp
primary
#255F2C
secondary
#924D8A
accent
#54C4D4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A