#12741E#12741E
#12741E is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.148 H 144.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #12741E |
|---|---|
| RGB | rgb(18, 116, 30) |
| HSL | hsl(127, 73%, 26%) |
| HSV | hsv(127, 84%, 45%) |
| CMYK | cmyk(84.5%, 0%, 74.1%, 54.5%) |
| CIE-LAB | lab(42.33, -44.57, 38.04) |
| CIE-LCH | lch(42.33, 58.59, 139.52°) |
| OKLab | oklab(48.82% -0.1204 0.0868) |
| OKLCH | oklch(48.82% 0.148 144.2) |
| XYZ | xyz(6.7287, 12.7123, 3.3271) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.36
Tree Green
#2A7E19
ΔE00 4.40
Green
#008000
ΔE00 5.25
Darkgreen
#006400
ΔE00 5.60
Dark Grass Green
#388004
ΔE00 6.92
Jungle Green
#048243
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12741E #741268
analogous
#377412 #12741E #12744F
triadic
#12741E #1E1274 #741E12
tetradic
#12741E #123774 #741268 #744F12
square
#12741E #123774 #741268 #744F12
split-complementary
#12741E #4F1274 #741237
monochromatic
#041A07 #0A3F10 #12741E #1AA92C #23DD3A
Accessibility & contrast
On white
5.93
#12741E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#12741E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #12741E
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12741E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12741E | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766810
Deuteranopia (green-blind)
#6C6127
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #12741e; /* rgb */ color: rgb(18, 116, 30); /* oklch */ color: oklch(48.8% 0.148 144.2);
Tailwind
colors: {
custom: {
50: '#659d5f',
500: '#12741e',
950: '#000000',
},
}SCSS
$custom: #12741e; $custom-light: #659d5f; $custom-dark: #000000;
JSON
{
"hex": "#12741e",
"rgb": {
"r": 18,
"g": 116,
"b": 30
},
"hsl": {
"h": 127.347,
"s": 73.134,
"l": 26.275
},
"oklch": {
"l": 0.4882,
"c": 0.14842,
"h": 144.2
},
"luminance": 0.12713
}Semantic roles & 50–950 ramp
primary
#12741E
secondary
#AB379D
accent
#38D9F0
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79