#12642F#12642F
#12642F is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.3% C 0.113 H 150.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #12642F |
|---|---|
| RGB | rgb(18, 100, 47) |
| HSL | hsl(141, 69%, 23%) |
| HSV | hsv(141, 82%, 39%) |
| CMYK | cmyk(82%, 0%, 53%, 60.8%) |
| CIE-LAB | lab(36.83, -36.47, 23.34) |
| CIE-LCH | lch(36.83, 43.30, 147.38°) |
| OKLab | oklab(44.32% -0.098 0.0567) |
| OKLCH | oklch(44.32% 0.113 150) |
| XYZ | xyz(5.3193, 9.4475, 4.2320) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.87
Pine
#2B5D34
ΔE00 4.25
Forest Green
#2D5A27
ΔE00 5.01
Deep Green
#02590F
ΔE00 5.73
Hunter Green
#355E3B
ΔE00 6.12
Forest
#0B5509
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12642F #641247
analogous
#1E6412 #12642F #126458
triadic
#12642F #2F1264 #642F12
tetradic
#12642F #121E64 #641247 #645812
square
#12642F #121E64 #641247 #645812
split-complementary
#12642F #581264 #64121E
monochromatic
#051A0C #093017 #12642F #1B9847 #25CC60
Accessibility & contrast
On white
7.27
#12642F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#12642F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12642F
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12642F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12642F | 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)
#655B2B
Deuteranopia (green-blind)
#5B5433
Tritanopia (blue-blind)
#006258
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #12642f; /* rgb */ color: rgb(18, 100, 47); /* oklch */ color: oklch(44.3% 0.113 150.0);
Tailwind
colors: {
custom: {
50: '#5f9168',
500: '#12642f',
950: '#000000',
},
}SCSS
$custom: #12642f; $custom-light: #5f9168; $custom-dark: #000000;
JSON
{
"hex": "#12642f",
"rgb": {
"r": 18,
"g": 100,
"b": 47
},
"hsl": {
"h": 141.22,
"s": 69.492,
"l": 23.137
},
"oklch": {
"l": 0.4432,
"c": 0.11319,
"h": 150
},
"luminance": 0.09448
}Semantic roles & 50–950 ramp
primary
#12642F
secondary
#9C3678
accent
#3BAEEC
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A