#1F742E#1F742E
#1F742E is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.132 H 146.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1F742E |
|---|---|
| RGB | rgb(31, 116, 46) |
| HSL | hsl(131, 58%, 29%) |
| HSV | hsv(131, 73%, 45%) |
| CMYK | cmyk(73.3%, 0%, 60.3%, 54.5%) |
| CIE-LAB | lab(42.73, -40.58, 31.08) |
| CIE-LCH | lch(42.73, 51.12, 142.55°) |
| OKLab | oklab(49.28% -0.1095 0.0737) |
| OKLCH | oklch(49.28% 0.132 146.1) |
| XYZ | xyz(7.3031, 12.9785, 4.7045) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.93
Jungle Green
#048243
ΔE00 5.68
Tree Green
#2A7E19
ΔE00 5.74
Darkgreen
#006400
ΔE00 6.93
Green
#008000
ΔE00 7.10
Dark Grass Green
#388004
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F742E #741F65
analogous
#3B741F #1F742E #1F7459
triadic
#1F742E #2E1F74 #742E1F
tetradic
#1F742E #1F3B74 #741F65 #74591F
square
#1F742E #1F3B74 #741F65 #74591F
split-complementary
#1F742E #591F74 #741F3B
monochromatic
#06180A #12441B #1F742E #2CA441 #41CC5A
Accessibility & contrast
On white
5.84
#1F742E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#1F742E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F742E
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F742E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F742E | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766927
Deuteranopia (green-blind)
#6C6234
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #1f742e; /* rgb */ color: rgb(31, 116, 46); /* oklch */ color: oklch(49.3% 0.132 146.1);
Tailwind
colors: {
custom: {
50: '#689d69',
500: '#1f742e',
950: '#000000',
},
}SCSS
$custom: #1f742e; $custom-light: #689d69; $custom-dark: #000000;
JSON
{
"hex": "#1f742e",
"rgb": {
"r": 31,
"g": 116,
"b": 46
},
"hsl": {
"h": 130.588,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.49277,
"c": 0.13198,
"h": 146.1
},
"luminance": 0.12979
}Semantic roles & 50–950 ramp
primary
#1F742E
secondary
#A84797
accent
#47C6E1
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A