#255B18#255B18
#255B18 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.114 H 140.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #255B18 |
|---|---|
| RGB | rgb(37, 91, 24) |
| HSL | hsl(108, 58%, 23%) |
| HSV | hsv(108, 74%, 36%) |
| CMYK | cmyk(59.3%, 0%, 73.6%, 64.3%) |
| CIE-LAB | lab(33.86, -31.80, 31.90) |
| CIE-LCH | lch(33.86, 45.04, 134.91°) |
| OKLab | oklab(41.93% -0.0872 0.073) |
| OKLCH | oklch(41.93% 0.114 140.1) |
| XYZ | xyz(4.6687, 7.9410, 2.1507) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.93
Forest
#0B5509
ΔE00 3.02
Forest Green
#2D5A27
ΔE00 3.22
Darkgreen
#006400
ΔE00 4.94
Navy Green
#35530A
ΔE00 5.25
Bottle Green
#044A05
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255B18 #4E185B
analogous
#475B18 #255B18 #185B2C
triadic
#255B18 #18255B #5B1825
tetradic
#255B18 #18475B #4E185B #5B2C18
square
#255B18 #18475B #4E185B #5B2C18
split-complementary
#255B18 #2C185B #5B1847
monochromatic
#0A1806 #112B0B #255B18 #398B25 #4CBC32
Accessibility & contrast
On white
8.11
#255B18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#255B18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255B18
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255B18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255B18 | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E520E
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#1F584D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #255b18; /* rgb */ color: rgb(37, 91, 24); /* oklch */ color: oklch(41.9% 0.114 140.1);
Tailwind
colors: {
custom: {
50: '#668a59',
500: '#255b18',
950: '#000000',
},
}SCSS
$custom: #255b18; $custom-light: #668a59; $custom-dark: #000000;
JSON
{
"hex": "#255b18",
"rgb": {
"r": 37,
"g": 91,
"b": 24
},
"hsl": {
"h": 108.358,
"s": 58.261,
"l": 22.549
},
"oklch": {
"l": 0.41925,
"c": 0.11373,
"h": 140.1
},
"luminance": 0.07941
}Semantic roles & 50–950 ramp
primary
#255B18
secondary
#813D92
accent
#46E1C3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79