#12591F#12591F
#12591F is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.8% C 0.113 H 145.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #12591F |
|---|---|
| RGB | rgb(18, 89, 31) |
| HSL | hsl(131, 66%, 21%) |
| HSV | hsv(131, 80%, 35%) |
| CMYK | cmyk(79.8%, 0%, 65.2%, 65.1%) |
| CIE-LAB | lab(32.64, -34.74, 26.98) |
| CIE-LCH | lch(32.64, 43.99, 142.16°) |
| OKLab | oklab(40.78% -0.0937 0.0635) |
| OKLCH | oklch(40.78% 0.113 145.9) |
| XYZ | xyz(4.0689, 7.3718, 2.5045) |
| Luminance | 0.0737 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.72
Forest
#0B5509
ΔE00 3.35
Forest Green
#2D5A27
ΔE00 3.38
Pine
#2B5D34
ΔE00 4.81
Bottle Green
#044A05
ΔE00 5.25
British Racing Green
#05480D
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12591F #59124C
analogous
#285912 #12591F #125942
triadic
#12591F #1F1259 #591F12
tetradic
#12591F #122859 #59124C #594212
square
#12591F #122859 #59124C #594212
split-complementary
#12591F #421259 #591228
monochromatic
#051909 #08260D #12591F #1C8C31 #27BF42
Accessibility & contrast
On white
8.49
#12591F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#12591F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12591F
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12591F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12591F | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5019
Deuteranopia (green-blind)
#524B24
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #12591f; /* rgb */ color: rgb(18, 89, 31); /* oklch */ color: oklch(40.8% 0.113 145.9);
Tailwind
colors: {
custom: {
50: '#5d895d',
500: '#12591f',
950: '#000000',
},
}SCSS
$custom: #12591f; $custom-light: #5d895d; $custom-dark: #000000;
JSON
{
"hex": "#12591f",
"rgb": {
"r": 18,
"g": 89,
"b": 31
},
"hsl": {
"h": 130.986,
"s": 66.355,
"l": 20.98
},
"oklch": {
"l": 0.40777,
"c": 0.11317,
"h": 145.9
},
"luminance": 0.07372
}Semantic roles & 50–950 ramp
primary
#12591F
secondary
#923581
accent
#3FCAE9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79