#12602F#12602F
#12602F is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.1% C 0.108 H 150.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #12602F |
|---|---|
| RGB | rgb(18, 96, 47) |
| HSL | hsl(142, 68%, 22%) |
| HSV | hsv(142, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 51%, 62.4%) |
| CIE-LAB | lab(35.40, -34.89, 21.54) |
| CIE-LCH | lch(35.40, 41.00, 148.30°) |
| OKLab | oklab(43.13% -0.0938 0.0526) |
| OKLCH | oklch(43.13% 0.108 150.7) |
| XYZ | xyz(4.9450, 8.6990, 4.1072) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.83
Pine
#2B5D34
ΔE00 3.35
Forest Green
#2D5A27
ΔE00 4.46
Hunter Green
#355E3B
ΔE00 5.41
Deep Green
#02590F
ΔE00 5.69
Forest
#0B5509
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12602F #601243
analogous
#1C6012 #12602F #126056
triadic
#12602F #2F1260 #602F12
tetradic
#12602F #121C60 #601243 #605612
square
#12602F #121C60 #601243 #605612
split-complementary
#12602F #561260 #60121C
monochromatic
#051A0D #082C16 #12602F #1C9448 #25C761
Accessibility & contrast
On white
7.66
#12602F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#12602F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12602F
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12602F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12602F | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60572B
Deuteranopia (green-blind)
#575132
Tritanopia (blue-blind)
#005E54
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #12602f; /* rgb */ color: rgb(18, 96, 47); /* oklch */ color: oklch(43.1% 0.108 150.7);
Tailwind
colors: {
custom: {
50: '#5e8e68',
500: '#12602f',
950: '#000000',
},
}SCSS
$custom: #12602f; $custom-light: #5e8e68; $custom-dark: #000000;
JSON
{
"hex": "#12602f",
"rgb": {
"r": 18,
"g": 96,
"b": 47
},
"hsl": {
"h": 142.308,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.43134,
"c": 0.10751,
"h": 150.7
},
"luminance": 0.087
}Semantic roles & 50–950 ramp
primary
#12602F
secondary
#983674
accent
#3DAAEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A