#255F2A#255F2A
#255F2A is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.103 H 145.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #255F2A |
|---|---|
| RGB | rgb(37, 95, 42) |
| HSL | hsl(125, 44%, 26%) |
| HSV | hsv(125, 61%, 37%) |
| CMYK | cmyk(61.1%, 0%, 55.8%, 62.7%) |
| CIE-LAB | lab(35.49, -31.23, 24.58) |
| CIE-LCH | lch(35.49, 39.75, 141.80°) |
| OKLab | oklab(43.33% -0.0847 0.0591) |
| OKLCH | oklch(43.33% 0.103 145.1) |
| XYZ | xyz(5.2728, 8.7444, 3.6000) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.31
Pine
#2B5D34
ΔE00 3.01
Deep Green
#02590F
ΔE00 4.77
Spruce
#0A5F38
ΔE00 4.95
Hunter Green
#355E3B
ΔE00 5.00
Forest
#0B5509
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255F2A #5F255A
analogous
#3D5F25 #255F2A #255F47
triadic
#255F2A #2A255F #5F2A25
tetradic
#255F2A #253D5F #5F255A #5F4725
square
#255F2A #253D5F #5F255A #5F4725
split-complementary
#255F2A #47255F #5F253D
monochromatic
#09160A #143317 #255F2A #368B3D #47B751
Accessibility & contrast
On white
7.64
#255F2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#255F2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255F2A
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255F2A | 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)
#615725
Deuteranopia (green-blind)
#59512E
Tritanopia (blue-blind)
#1A5D53
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #255f2a; /* rgb */ color: rgb(37, 95, 42); /* oklch */ color: oklch(43.3% 0.103 145.1);
Tailwind
colors: {
custom: {
50: '#668d65',
500: '#255f2a',
950: '#000000',
},
}SCSS
$custom: #255f2a; $custom-light: #668d65; $custom-dark: #000000;
JSON
{
"hex": "#255f2a",
"rgb": {
"r": 37,
"g": 95,
"b": 42
},
"hsl": {
"h": 125.172,
"s": 43.939,
"l": 25.882
},
"oklch": {
"l": 0.43331,
"c": 0.10325,
"h": 145.1
},
"luminance": 0.08745
}Semantic roles & 50–950 ramp
primary
#255F2A
secondary
#924D8C
accent
#54C9D4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A