#255F28#255F28
#255F28 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.105 H 144.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #255F28 |
|---|---|
| RGB | rgb(37, 95, 40) |
| HSL | hsl(123, 44%, 26%) |
| HSV | hsv(123, 61%, 37%) |
| CMYK | cmyk(61.1%, 0%, 57.9%, 62.7%) |
| CIE-LAB | lab(35.46, -31.54, 25.64) |
| CIE-LCH | lch(35.46, 40.65, 140.88°) |
| OKLab | oklab(43.3% -0.0856 0.0613) |
| OKLCH | oklch(43.3% 0.105 144.4) |
| XYZ | xyz(5.2379, 8.7305, 3.4162) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.29
Pine
#2B5D34
ΔE00 3.45
Deep Green
#02590F
ΔE00 4.43
Forest
#0B5509
ΔE00 5.17
Spruce
#0A5F38
ΔE00 5.37
Hunter Green
#355E3B
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255F28 #5F255C
analogous
#3F5F25 #255F28 #255F45
triadic
#255F28 #28255F #5F2825
tetradic
#255F28 #253F5F #5F255C #5F4525
square
#255F28 #253F5F #5F255C #5F4525
split-complementary
#255F28 #45255F #5F253F
monochromatic
#091609 #143315 #255F28 #368B3B #47B74D
Accessibility & contrast
On white
7.65
#255F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#255F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255F28
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255F28 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615723
Deuteranopia (green-blind)
#59512C
Tritanopia (blue-blind)
#1B5C53
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #255f28; /* rgb */ color: rgb(37, 95, 40); /* oklch */ color: oklch(43.3% 0.105 144.4);
Tailwind
colors: {
custom: {
50: '#668d63',
500: '#255f28',
950: '#000000',
},
}SCSS
$custom: #255f28; $custom-light: #668d63; $custom-dark: #000000;
JSON
{
"hex": "#255f28",
"rgb": {
"r": 37,
"g": 95,
"b": 40
},
"hsl": {
"h": 123.103,
"s": 43.939,
"l": 25.882
},
"oklch": {
"l": 0.433,
"c": 0.10526,
"h": 144.4
},
"luminance": 0.08731
}Semantic roles & 50–950 ramp
primary
#255F28
secondary
#924D8F
accent
#54CDD4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A