#255A2B#255A2B
#255A2B is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.094 H 145.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #255A2B |
|---|---|
| RGB | rgb(37, 90, 43) |
| HSL | hsl(127, 42%, 25%) |
| HSV | hsv(127, 59%, 35%) |
| CMYK | cmyk(58.9%, 0%, 52.2%, 64.7%) |
| CIE-LAB | lab(33.73, -28.84, 21.85) |
| CIE-LCH | lch(33.73, 36.18, 142.85°) |
| OKLab | oklab(41.89% -0.0782 0.0531) |
| OKLCH | oklch(41.89% 0.094 145.8) |
| XYZ | xyz(4.8549, 7.8796, 3.5501) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.89
Pine
#2B5D34
ΔE00 2.04
Hunter Green
#355E3B
ΔE00 4.12
Spruce
#0A5F38
ΔE00 4.50
Deep Green
#02590F
ΔE00 5.47
Forest
#0B5509
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255A2B #5A2554
analogous
#3A5A25 #255A2B #255A45
triadic
#255A2B #2B255A #5A2B25
tetradic
#255A2B #253A5A #5A2554 #5A4525
square
#255A2B #253A5A #5A2554 #5A4525
split-complementary
#255A2B #45255A #5A253A
monochromatic
#09160A #132F16 #255A2B #378540 #49B154
Accessibility & contrast
On white
8.15
#255A2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#255A2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255A2B
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255A2B | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5227
Deuteranopia (green-blind)
#544D2E
Tritanopia (blue-blind)
#1B584F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #255a2b; /* rgb */ color: rgb(37, 90, 43); /* oklch */ color: oklch(41.9% 0.094 145.8);
Tailwind
colors: {
custom: {
50: '#658965',
500: '#255a2b',
950: '#000000',
},
}SCSS
$custom: #255a2b; $custom-light: #658965; $custom-dark: #000000;
JSON
{
"hex": "#255a2b",
"rgb": {
"r": 37,
"g": 90,
"b": 43
},
"hsl": {
"h": 126.792,
"s": 41.732,
"l": 24.902
},
"oklch": {
"l": 0.41892,
"c": 0.09448,
"h": 145.8
},
"luminance": 0.0788
}Semantic roles & 50–950 ramp
primary
#255A2B
secondary
#8D4D86
accent
#56C4D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B05
muted
#7A7C7A