#255A1B#255A1B
#255A1B is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.110 H 140.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #255A1B |
|---|---|
| RGB | rgb(37, 90, 27) |
| HSL | hsl(110, 54%, 23%) |
| HSV | hsv(110, 70%, 35%) |
| CMYK | cmyk(58.9%, 0%, 70%, 64.7%) |
| CIE-LAB | lab(33.53, -31.06, 30.14) |
| CIE-LCH | lch(33.53, 43.28, 135.86°) |
| OKLab | oklab(41.66% -0.085 0.0697) |
| OKLCH | oklch(41.66% 0.11 140.7) |
| XYZ | xyz(4.6167, 7.7844, 2.2960) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.58
Deep Green
#02590F
ΔE00 3.07
Forest
#0B5509
ΔE00 3.13
Navy Green
#35530A
ΔE00 5.41
Pine
#2B5D34
ΔE00 5.43
Bottle Green
#044A05
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255A1B #501B5A
analogous
#445A1B #255A1B #1B5A30
triadic
#255A1B #1B255A #5A1B25
tetradic
#255A1B #1B445A #501B5A #5A301B
square
#255A1B #1B445A #501B5A #5A301B
split-complementary
#255A1B #301B5A #5A1B44
monochromatic
#0A1807 #122B0D #255A1B #388929 #4CB837
Accessibility & contrast
On white
8.21
#255A1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#255A1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255A1B
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255A1B | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5213
Deuteranopia (green-blind)
#564D20
Tritanopia (blue-blind)
#1F574D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #255a1b; /* rgb */ color: rgb(37, 90, 27); /* oklch */ color: oklch(41.7% 0.110 140.7);
Tailwind
colors: {
custom: {
50: '#66895b',
500: '#255a1b',
950: '#000000',
},
}SCSS
$custom: #255a1b; $custom-light: #66895b; $custom-dark: #000000;
JSON
{
"hex": "#255a1b",
"rgb": {
"r": 37,
"g": 90,
"b": 27
},
"hsl": {
"h": 110.476,
"s": 53.846,
"l": 22.941
},
"oklch": {
"l": 0.41662,
"c": 0.10991,
"h": 140.7
},
"luminance": 0.07785
}Semantic roles & 50–950 ramp
primary
#255A1B
secondary
#834190
accent
#4BDDC6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79