#12582F#12582F
#12582F is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.7% C 0.096 H 152.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #12582F |
|---|---|
| RGB | rgb(18, 88, 47) |
| HSL | hsl(145, 66%, 21%) |
| HSV | hsv(145, 80%, 35%) |
| CMYK | cmyk(79.5%, 0%, 46.6%, 65.5%) |
| CIE-LAB | lab(32.51, -31.59, 17.84) |
| CIE-LCH | lch(32.51, 36.28, 150.54°) |
| OKLab | oklab(40.75% -0.0851 0.0441) |
| OKLCH | oklch(40.75% 0.096 152.6) |
| XYZ | xyz(4.2519, 7.3128, 3.8762) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.62
Pine
#2B5D34
ΔE00 3.17
Forest Green
#2D5A27
ΔE00 4.79
Hunter Green
#355E3B
ΔE00 4.97
Pine Green
#0A481E
ΔE00 5.15
Evergreen
#05472A
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12582F #58123B
analogous
#185812 #12582F #125852
triadic
#12582F #2F1258 #582F12
tetradic
#12582F #121858 #58123B #585212
square
#12582F #121858 #58123B #585212
split-complementary
#12582F #521258 #581218
monochromatic
#05190E #082514 #12582F #1C8B4A #27BE65
Accessibility & contrast
On white
8.53
#12582F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#12582F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12582F
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12582F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12582F | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58502C
Deuteranopia (green-blind)
#504A32
Tritanopia (blue-blind)
#00574E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #12582f; /* rgb */ color: rgb(18, 88, 47); /* oklch */ color: oklch(40.7% 0.096 152.6);
Tailwind
colors: {
custom: {
50: '#5c8868',
500: '#12582f',
950: '#000000',
},
}SCSS
$custom: #12582f; $custom-light: #5c8868; $custom-dark: #000000;
JSON
{
"hex": "#12582f",
"rgb": {
"r": 18,
"g": 88,
"b": 47
},
"hsl": {
"h": 144.857,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.40746,
"c": 0.0958,
"h": 152.6
},
"luminance": 0.07313
}Semantic roles & 50–950 ramp
primary
#12582F
secondary
#91356B
accent
#3FA2E9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B06
muted
#797C7A