#12742E#12742E
#12742E is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.136 H 147.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #12742E |
|---|---|
| RGB | rgb(18, 116, 46) |
| HSL | hsl(137, 73%, 26%) |
| HSV | hsv(137, 84%, 45%) |
| CMYK | cmyk(84.5%, 0%, 60.3%, 54.5%) |
| CIE-LAB | lab(42.48, -42.63, 30.73) |
| CIE-LCH | lch(42.48, 52.55, 144.22°) |
| OKLab | oklab(49% -0.1145 0.073) |
| OKLCH | oklch(49% 0.136 147.5) |
| XYZ | xyz(6.9874, 12.8158, 4.6897) |
| Luminance | 0.1282 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.21
Jungle Green
#048243
ΔE00 5.47
Tree Green
#2A7E19
ΔE00 6.15
Darkgreen
#006400
ΔE00 6.97
Green
#008000
ΔE00 7.27
Dark Grass Green
#388004
ΔE00 8.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12742E #741258
analogous
#277412 #12742E #12745F
triadic
#12742E #2E1274 #742E12
tetradic
#12742E #122774 #741258 #745F12
square
#12742E #122774 #741258 #745F12
split-complementary
#12742E #5F1274 #741227
monochromatic
#041A0B #0A3F19 #12742E #1AA943 #23DD58
Accessibility & contrast
On white
5.89
#12742E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#12742E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #12742E
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12742E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12742E | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756927
Deuteranopia (green-blind)
#6B6134
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #12742e; /* rgb */ color: rgb(18, 116, 46); /* oklch */ color: oklch(49.0% 0.136 147.5);
Tailwind
colors: {
custom: {
50: '#649d69',
500: '#12742e',
950: '#000000',
},
}SCSS
$custom: #12742e; $custom-light: #649d69; $custom-dark: #000000;
JSON
{
"hex": "#12742e",
"rgb": {
"r": 18,
"g": 116,
"b": 46
},
"hsl": {
"h": 137.143,
"s": 73.134,
"l": 26.275
},
"oklch": {
"l": 0.49002,
"c": 0.1358,
"h": 147.5
},
"luminance": 0.12817
}Semantic roles & 50–950 ramp
primary
#12742E
secondary
#AB378A
accent
#38BBF0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A