#12712F#12712F
#12712F is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.131 H 148.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #12712F |
|---|---|
| RGB | rgb(18, 113, 47) |
| HSL | hsl(138, 73%, 26%) |
| HSV | hsv(138, 84%, 44%) |
| CMYK | cmyk(84.1%, 0%, 58.4%, 55.7%) |
| CIE-LAB | lab(41.44, -41.39, 28.98) |
| CIE-LCH | lch(41.44, 50.53, 145.01°) |
| OKLab | oklab(48.14% -0.1112 0.0692) |
| OKLCH | oklch(48.14% 0.131 148.1) |
| XYZ | xyz(6.6671, 12.1433, 4.6813) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.13
Jungle Green
#048243
ΔE00 6.17
Darkgreen
#006400
ΔE00 6.68
Tree Green
#2A7E19
ΔE00 7.20
Spruce
#0A5F38
ΔE00 8.07
Deep Green
#02590F
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12712F #711254
analogous
#247112 #12712F #12715E
triadic
#12712F #2F1271 #712F12
tetradic
#12712F #122471 #711254 #715E12
square
#12712F #122471 #711254 #715E12
split-complementary
#12712F #5E1271 #711224
monochromatic
#041A0B #0A3C19 #12712F #1AA645 #23DB5B
Accessibility & contrast
On white
6.12
#12712F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#12712F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #12712F
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12712F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12712F | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#006E62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #12712f; /* rgb */ color: rgb(18, 113, 47); /* oklch */ color: oklch(48.1% 0.131 148.1);
Tailwind
colors: {
custom: {
50: '#639b69',
500: '#12712f',
950: '#000000',
},
}SCSS
$custom: #12712f; $custom-light: #639b69; $custom-dark: #000000;
JSON
{
"hex": "#12712f",
"rgb": {
"r": 18,
"g": 113,
"b": 47
},
"hsl": {
"h": 138.316,
"s": 72.519,
"l": 25.686
},
"oklch": {
"l": 0.48142,
"c": 0.13096,
"h": 148.1
},
"luminance": 0.12144
}Semantic roles & 50–950 ramp
primary
#12712F
secondary
#A83785
accent
#39B7EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A