#255C1B#255C1B
#255C1B is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.113 H 140.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #255C1B |
|---|---|
| RGB | rgb(37, 92, 27) |
| HSL | hsl(111, 55%, 23%) |
| HSV | hsv(111, 71%, 36%) |
| CMYK | cmyk(59.8%, 0%, 70.7%, 63.9%) |
| CIE-LAB | lab(34.24, -31.91, 30.92) |
| CIE-LCH | lch(34.24, 44.44, 135.91°) |
| OKLab | oklab(42.25% -0.0873 0.0713) |
| OKLCH | oklch(42.25% 0.113 140.8) |
| XYZ | xyz(4.7877, 8.1263, 2.3529) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.92
Deep Green
#02590F
ΔE00 3.01
Forest
#0B5509
ΔE00 3.31
Darkgreen
#006400
ΔE00 4.99
Pine
#2B5D34
ΔE00 5.61
Navy Green
#35530A
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255C1B #521B5C
analogous
#455C1B #255C1B #1B5C31
triadic
#255C1B #1B255C #5C1B25
tetradic
#255C1B #1B455C #521B5C #5C311B
square
#255C1B #1B455C #521B5C #5C311B
split-complementary
#255C1B #311B5C #5C1B45
monochromatic
#0A1807 #122D0D #255C1B #388B29 #4BBB37
Accessibility & contrast
On white
8.00
#255C1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#255C1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255C1B
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255C1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255C1B | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5313
Deuteranopia (green-blind)
#574F21
Tritanopia (blue-blind)
#1E594F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #255c1b; /* rgb */ color: rgb(37, 92, 27); /* oklch */ color: oklch(42.3% 0.113 140.8);
Tailwind
colors: {
custom: {
50: '#668b5b',
500: '#255c1b',
950: '#000000',
},
}SCSS
$custom: #255c1b; $custom-light: #668b5b; $custom-dark: #000000;
JSON
{
"hex": "#255c1b",
"rgb": {
"r": 37,
"g": 92,
"b": 27
},
"hsl": {
"h": 110.769,
"s": 54.622,
"l": 23.333
},
"oklch": {
"l": 0.42251,
"c": 0.11275,
"h": 140.8
},
"luminance": 0.08127
}Semantic roles & 50–950 ramp
primary
#255C1B
secondary
#854192
accent
#4ADEC7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79