#12741F#12741F
#12741F is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.148 H 144.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #12741F |
|---|---|
| RGB | rgb(18, 116, 31) |
| HSL | hsl(128, 73%, 26%) |
| HSV | hsv(128, 84%, 45%) |
| CMYK | cmyk(84.5%, 0%, 73.3%, 54.5%) |
| CIE-LAB | lab(42.33, -44.47, 37.62) |
| CIE-LCH | lch(42.33, 58.25, 139.77°) |
| OKLab | oklab(48.83% -0.1201 0.0861) |
| OKLCH | oklch(48.83% 0.148 144.4) |
| XYZ | xyz(6.7417, 12.7175, 3.3955) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.26
Tree Green
#2A7E19
ΔE00 4.47
Green
#008000
ΔE00 5.35
Darkgreen
#006400
ΔE00 5.65
Dark Grass Green
#388004
ΔE00 7.01
Jungle Green
#048243
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12741F #741267
analogous
#367412 #12741F #127450
triadic
#12741F #1F1274 #741F12
tetradic
#12741F #123674 #741267 #745012
square
#12741F #123674 #741267 #745012
split-complementary
#12741F #501274 #741236
monochromatic
#041A07 #0A3F11 #12741F #1AA92D #23DD3C
Accessibility & contrast
On white
5.93
#12741F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#12741F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #12741F
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12741F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12741F | 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)
#766812
Deuteranopia (green-blind)
#6C6127
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #12741f; /* rgb */ color: rgb(18, 116, 31); /* oklch */ color: oklch(48.8% 0.148 144.4);
Tailwind
colors: {
custom: {
50: '#659d60',
500: '#12741f',
950: '#000000',
},
}SCSS
$custom: #12741f; $custom-light: #659d60; $custom-dark: #000000;
JSON
{
"hex": "#12741f",
"rgb": {
"r": 18,
"g": 116,
"b": 31
},
"hsl": {
"h": 127.959,
"s": 73.134,
"l": 26.275
},
"oklch": {
"l": 0.48829,
"c": 0.14775,
"h": 144.4
},
"luminance": 0.12718
}Semantic roles & 50–950 ramp
primary
#12741F
secondary
#AB379B
accent
#38D7F0
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79