#12662E#12662E
#12662E is a dark, moderate green. Relative luminance 0.098; OKLCH L 44.9% C 0.117 H 149.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #12662E |
|---|---|
| RGB | rgb(18, 102, 46) |
| HSL | hsl(140, 70%, 24%) |
| HSV | hsv(140, 82%, 40%) |
| CMYK | cmyk(82.4%, 0%, 54.9%, 60%) |
| CIE-LAB | lab(37.53, -37.42, 24.76) |
| CIE-LCH | lch(37.53, 44.87, 146.50°) |
| OKLab | oklab(44.9% -0.1005 0.0598) |
| OKLCH | oklch(44.9% 0.117 149.2) |
| XYZ | xyz(5.4935, 9.8279, 4.1917) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.67
Pine
#2B5D34
ΔE00 4.91
Forest Green
#2D5A27
ΔE00 5.38
Deep Green
#02590F
ΔE00 5.75
Darkgreen
#006400
ΔE00 6.55
Hunter Green
#355E3B
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12662E #66124A
analogous
#206612 #12662E #126658
triadic
#12662E #2E1266 #662E12
tetradic
#12662E #122066 #66124A #665812
square
#12662E #122066 #66124A #665812
split-complementary
#12662E #581266 #661220
monochromatic
#051A0C #093217 #12662E #1B9A45 #24CE5D
Accessibility & contrast
On white
7.08
#12662E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#12662E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12662E
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12662E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12662E | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675C29
Deuteranopia (green-blind)
#5D5632
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #12662e; /* rgb */ color: rgb(18, 102, 46); /* oklch */ color: oklch(44.9% 0.117 149.2);
Tailwind
colors: {
custom: {
50: '#609268',
500: '#12662e',
950: '#000000',
},
}SCSS
$custom: #12662e; $custom-light: #609268; $custom-dark: #000000;
JSON
{
"hex": "#12662e",
"rgb": {
"r": 18,
"g": 102,
"b": 46
},
"hsl": {
"h": 140,
"s": 70,
"l": 23.529
},
"oklch": {
"l": 0.44895,
"c": 0.11698,
"h": 149.2
},
"luminance": 0.09829
}Semantic roles & 50–950 ramp
primary
#12662E
secondary
#9E367B
accent
#3BB2ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A