#12582D#12582D
#12582D is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.7% C 0.098 H 151.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #12582D |
|---|---|
| RGB | rgb(18, 88, 45) |
| HSL | hsl(143, 66%, 21%) |
| HSV | hsv(143, 80%, 35%) |
| CMYK | cmyk(79.5%, 0%, 48.9%, 65.5%) |
| CIE-LAB | lab(32.47, -31.99, 18.98) |
| CIE-LCH | lch(32.47, 37.20, 149.32°) |
| OKLab | oklab(40.71% -0.0861 0.0466) |
| OKLCH | oklch(40.71% 0.098 151.6) |
| XYZ | xyz(4.2125, 7.2970, 3.6686) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.92
Pine
#2B5D34
ΔE00 3.16
Forest Green
#2D5A27
ΔE00 4.42
Pine Green
#0A481E
ΔE00 5.04
Hunter Green
#355E3B
ΔE00 5.11
Deep Green
#02590F
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12582D #58123D
analogous
#1A5812 #12582D #125850
triadic
#12582D #2D1258 #582D12
tetradic
#12582D #121A58 #58123D #585012
square
#12582D #121A58 #58123D #585012
split-complementary
#12582D #501258 #58121A
monochromatic
#05190D #082513 #12582D #1C8B47 #27BE61
Accessibility & contrast
On white
8.54
#12582D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#12582D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12582D
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12582D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12582D | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58502A
Deuteranopia (green-blind)
#504A30
Tritanopia (blue-blind)
#00574E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #12582d; /* rgb */ color: rgb(18, 88, 45); /* oklch */ color: oklch(40.7% 0.098 151.6);
Tailwind
colors: {
custom: {
50: '#5c8866',
500: '#12582d',
950: '#000000',
},
}SCSS
$custom: #12582d; $custom-light: #5c8866; $custom-dark: #000000;
JSON
{
"hex": "#12582d",
"rgb": {
"r": 18,
"g": 88,
"b": 45
},
"hsl": {
"h": 143.143,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.40705,
"c": 0.0979,
"h": 151.6
},
"luminance": 0.07298
}Semantic roles & 50–950 ramp
primary
#12582D
secondary
#91356D
accent
#3FA7E9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B06
muted
#797C7A