#12662B#12662B
#12662B is a dark, moderate green. Relative luminance 0.098; OKLCH L 44.8% C 0.120 H 148.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #12662B |
|---|---|
| RGB | rgb(18, 102, 43) |
| HSL | hsl(138, 70%, 24%) |
| HSV | hsv(138, 82%, 40%) |
| CMYK | cmyk(82.4%, 0%, 57.8%, 60%) |
| CIE-LAB | lab(37.49, -37.92, 26.35) |
| CIE-LCH | lch(37.49, 46.17, 145.20°) |
| OKLab | oklab(44.85% -0.1019 0.0631) |
| OKLCH | oklch(44.85% 0.12 148.2) |
| XYZ | xyz(5.4364, 9.8051, 3.8911) |
| Luminance | 0.0981 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 5.26
Spruce
#0A5F38
ΔE00 5.27
Deep Green
#02590F
ΔE00 5.31
Forest Green
#2D5A27
ΔE00 5.33
Darkgreen
#006400
ΔE00 5.88
Forest
#0B5509
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12662B #66124D
analogous
#236612 #12662B #126655
triadic
#12662B #2B1266 #662B12
tetradic
#12662B #122366 #66124D #665512
square
#12662B #122366 #66124D #665512
split-complementary
#12662B #551266 #661223
monochromatic
#051A0B #093215 #12662B #1B9A41 #24CE57
Accessibility & contrast
On white
7.09
#12662B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#12662B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12662B
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12662B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12662B | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675C26
Deuteranopia (green-blind)
#5E5630
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #12662b; /* rgb */ color: rgb(18, 102, 43); /* oklch */ color: oklch(44.8% 0.120 148.2);
Tailwind
colors: {
custom: {
50: '#609266',
500: '#12662b',
950: '#000000',
},
}SCSS
$custom: #12662b; $custom-light: #609266; $custom-dark: #000000;
JSON
{
"hex": "#12662b",
"rgb": {
"r": 18,
"g": 102,
"b": 43
},
"hsl": {
"h": 137.857,
"s": 70,
"l": 23.529
},
"oklch": {
"l": 0.44847,
"c": 0.11986,
"h": 148.2
},
"luminance": 0.09806
}Semantic roles & 50–950 ramp
primary
#12662B
secondary
#9E367F
accent
#3BB8ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A