#12612A#12612A
#12612A is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.3% C 0.114 H 148.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #12612A |
|---|---|
| RGB | rgb(18, 97, 42) |
| HSL | hsl(138, 69%, 23%) |
| HSV | hsv(138, 81%, 38%) |
| CMYK | cmyk(81.4%, 0%, 56.7%, 62%) |
| CIE-LAB | lab(35.68, -36.16, 24.70) |
| CIE-LCH | lch(35.68, 43.79, 145.66°) |
| OKLab | oklab(43.35% -0.0972 0.0594) |
| OKLCH | oklch(43.35% 0.114 148.6) |
| XYZ | xyz(4.9417, 8.8446, 3.6368) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.14
Spruce
#0A5F38
ΔE00 4.24
Forest Green
#2D5A27
ΔE00 4.25
Deep Green
#02590F
ΔE00 4.63
Forest
#0B5509
ΔE00 5.77
Hunter Green
#355E3B
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12612A #611249
analogous
#216112 #12612A #126152
triadic
#12612A #2A1261 #612A12
tetradic
#12612A #122161 #611249 #615212
square
#12612A #122161 #611249 #615212
split-complementary
#12612A #521261 #611221
monochromatic
#051A0B #082D14 #12612A #1C9540 #25C857
Accessibility & contrast
On white
7.58
#12612A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#12612A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12612A
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12612A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12612A | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625825
Deuteranopia (green-blind)
#59512E
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #12612a; /* rgb */ color: rgb(18, 97, 42); /* oklch */ color: oklch(43.3% 0.114 148.6);
Tailwind
colors: {
custom: {
50: '#5f8f65',
500: '#12612a',
950: '#000000',
},
}SCSS
$custom: #12612a; $custom-light: #5f8f65; $custom-dark: #000000;
JSON
{
"hex": "#12612a",
"rgb": {
"r": 18,
"g": 97,
"b": 42
},
"hsl": {
"h": 138.228,
"s": 68.696,
"l": 22.549
},
"oklch": {
"l": 0.43346,
"c": 0.1139,
"h": 148.6
},
"luminance": 0.08845
}Semantic roles & 50–950 ramp
primary
#12612A
secondary
#99367B
accent
#3CB6EC
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A