#12642E#12642E
#12642E is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.3% C 0.114 H 149.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #12642E |
|---|---|
| RGB | rgb(18, 100, 46) |
| HSL | hsl(140, 69%, 23%) |
| HSV | hsv(140, 82%, 39%) |
| CMYK | cmyk(82%, 0%, 54%, 60.8%) |
| CIE-LAB | lab(36.82, -36.65, 23.88) |
| CIE-LCH | lch(36.82, 43.74, 146.91°) |
| OKLab | oklab(44.3% -0.0984 0.0578) |
| OKLCH | oklch(44.3% 0.114 149.6) |
| XYZ | xyz(5.2993, 9.4396, 4.1270) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 4.09
Pine
#2B5D34
ΔE00 4.36
Forest Green
#2D5A27
ΔE00 4.95
Deep Green
#02590F
ΔE00 5.55
Hunter Green
#355E3B
ΔE00 6.25
Forest
#0B5509
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12642E #641248
analogous
#1F6412 #12642E #126457
triadic
#12642E #2E1264 #642E12
tetradic
#12642E #121F64 #641248 #645712
square
#12642E #121F64 #641248 #645712
split-complementary
#12642E #571264 #64121F
monochromatic
#051A0C #093016 #12642E #1B9846 #25CC5E
Accessibility & contrast
On white
7.27
#12642E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#12642E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12642E
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12642E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12642E | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655B29
Deuteranopia (green-blind)
#5B5432
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #12642e; /* rgb */ color: rgb(18, 100, 46); /* oklch */ color: oklch(44.3% 0.114 149.6);
Tailwind
colors: {
custom: {
50: '#5f9168',
500: '#12642e',
950: '#000000',
},
}SCSS
$custom: #12642e; $custom-light: #5f9168; $custom-dark: #000000;
JSON
{
"hex": "#12642e",
"rgb": {
"r": 18,
"g": 100,
"b": 46
},
"hsl": {
"h": 140.488,
"s": 69.492,
"l": 23.137
},
"oklch": {
"l": 0.44303,
"c": 0.11418,
"h": 149.6
},
"luminance": 0.0944
}Semantic roles & 50–950 ramp
primary
#12642E
secondary
#9C3679
accent
#3BB0EC
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A