#12581E#12581E
#12581E is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.113 H 145.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #12581E |
|---|---|
| RGB | rgb(18, 88, 30) |
| HSL | hsl(130, 66%, 21%) |
| HSV | hsv(130, 80%, 35%) |
| CMYK | cmyk(79.5%, 0%, 65.9%, 65.5%) |
| CIE-LAB | lab(32.26, -34.49, 27.07) |
| CIE-LCH | lch(32.26, 43.84, 141.88°) |
| OKLab | oklab(40.46% -0.093 0.0636) |
| OKLCH | oklch(40.46% 0.113 145.7) |
| XYZ | xyz(3.9732, 7.2013, 2.4086) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.68
Forest
#0B5509
ΔE00 3.19
Forest Green
#2D5A27
ΔE00 3.40
Pine
#2B5D34
ΔE00 4.93
Bottle Green
#044A05
ΔE00 4.94
British Racing Green
#05480D
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12581E #58124C
analogous
#295812 #12581E #125841
triadic
#12581E #1E1258 #581E12
tetradic
#12581E #122958 #58124C #584112
square
#12581E #122958 #58124C #584112
split-complementary
#12581E #411258 #581229
monochromatic
#051909 #08250D #12581E #1C8B2F #27BE41
Accessibility & contrast
On white
8.61
#12581E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#12581E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12581E
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12581E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12581E | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594F18
Deuteranopia (green-blind)
#514A23
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #12581e; /* rgb */ color: rgb(18, 88, 30); /* oklch */ color: oklch(40.5% 0.113 145.7);
Tailwind
colors: {
custom: {
50: '#5d885c',
500: '#12581e',
950: '#000000',
},
}SCSS
$custom: #12581e; $custom-light: #5d885c; $custom-dark: #000000;
JSON
{
"hex": "#12581e",
"rgb": {
"r": 18,
"g": 88,
"b": 30
},
"hsl": {
"h": 130.286,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.4046,
"c": 0.11269,
"h": 145.7
},
"luminance": 0.07202
}Semantic roles & 50–950 ramp
primary
#12581E
secondary
#913581
accent
#3FCCE9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79