#12662F#12662F
#12662F is a dark, moderate green. Relative luminance 0.098; OKLCH L 44.9% C 0.116 H 149.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #12662F |
|---|---|
| RGB | rgb(18, 102, 47) |
| HSL | hsl(141, 70%, 24%) |
| HSV | hsv(141, 82%, 40%) |
| CMYK | cmyk(82.4%, 0%, 53.9%, 60%) |
| CIE-LAB | lab(37.55, -37.25, 24.23) |
| CIE-LCH | lch(37.55, 44.44, 146.96°) |
| OKLab | oklab(44.91% -0.1001 0.0587) |
| OKLCH | oklch(44.91% 0.116 149.6) |
| XYZ | xyz(5.5135, 9.8359, 4.2967) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.47
Pine
#2B5D34
ΔE00 4.80
Forest Green
#2D5A27
ΔE00 5.41
Deep Green
#02590F
ΔE00 5.91
Hunter Green
#355E3B
ΔE00 6.56
Darkgreen
#006400
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12662F #661249
analogous
#1F6612 #12662F #126659
triadic
#12662F #2F1266 #662F12
tetradic
#12662F #121F66 #661249 #665912
square
#12662F #121F66 #661249 #665912
split-complementary
#12662F #591266 #66121F
monochromatic
#051A0C #093217 #12662F #1B9A47 #24CE5F
Accessibility & contrast
On white
7.08
#12662F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#12662F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12662F
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12662F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12662F | 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)
#675C2A
Deuteranopia (green-blind)
#5D5633
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #12662f; /* rgb */ color: rgb(18, 102, 47); /* oklch */ color: oklch(44.9% 0.116 149.6);
Tailwind
colors: {
custom: {
50: '#609269',
500: '#12662f',
950: '#000000',
},
}SCSS
$custom: #12662f; $custom-light: #609269; $custom-dark: #000000;
JSON
{
"hex": "#12662f",
"rgb": {
"r": 18,
"g": 102,
"b": 47
},
"hsl": {
"h": 140.714,
"s": 70,
"l": 23.529
},
"oklch": {
"l": 0.44912,
"c": 0.11599,
"h": 149.6
},
"luminance": 0.09837
}Semantic roles & 50–950 ramp
primary
#12662F
secondary
#9E367A
accent
#3BAFED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A