#12662D#12662D
#12662D is a dark, moderate green. Relative luminance 0.098; OKLCH L 44.9% C 0.118 H 148.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #12662D |
|---|---|
| RGB | rgb(18, 102, 45) |
| HSL | hsl(139, 70%, 24%) |
| HSV | hsv(139, 82%, 40%) |
| CMYK | cmyk(82.4%, 0%, 55.9%, 60%) |
| CIE-LAB | lab(37.52, -37.59, 25.30) |
| CIE-LCH | lch(37.52, 45.31, 146.06°) |
| OKLab | oklab(44.88% -0.101 0.0609) |
| OKLCH | oklch(44.88% 0.118 148.9) |
| XYZ | xyz(5.4740, 9.8201, 4.0891) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.87
Pine
#2B5D34
ΔE00 5.02
Forest Green
#2D5A27
ΔE00 5.35
Deep Green
#02590F
ΔE00 5.60
Darkgreen
#006400
ΔE00 6.32
Hunter Green
#355E3B
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12662D #66124B
analogous
#216612 #12662D #126657
triadic
#12662D #2D1266 #662D12
tetradic
#12662D #122166 #66124B #665712
square
#12662D #122166 #66124B #665712
split-complementary
#12662D #571266 #661221
monochromatic
#051A0B #093216 #12662D #1B9A44 #24CE5B
Accessibility & contrast
On white
7.08
#12662D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#12662D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12662D
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12662D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12662D | 1.00 | 7.08 | 2.96 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675C28
Deuteranopia (green-blind)
#5D5631
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #12662d; /* rgb */ color: rgb(18, 102, 45); /* oklch */ color: oklch(44.9% 0.118 148.9);
Tailwind
colors: {
custom: {
50: '#609267',
500: '#12662d',
950: '#000000',
},
}SCSS
$custom: #12662d; $custom-light: #609267; $custom-dark: #000000;
JSON
{
"hex": "#12662d",
"rgb": {
"r": 18,
"g": 102,
"b": 45
},
"hsl": {
"h": 139.286,
"s": 70,
"l": 23.529
},
"oklch": {
"l": 0.44879,
"c": 0.11795,
"h": 148.9
},
"luminance": 0.09821
}Semantic roles & 50–950 ramp
primary
#12662D
secondary
#9E367C
accent
#3BB4ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A