#1F741F#1F741F
#1F741F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.144 H 143.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1F741F |
|---|---|
| RGB | rgb(31, 116, 31) |
| HSL | hsl(120, 58%, 29%) |
| HSV | hsv(120, 73%, 45%) |
| CMYK | cmyk(73.3%, 0%, 73.3%, 54.5%) |
| CIE-LAB | lab(42.58, -42.35, 37.96) |
| CIE-LCH | lch(42.58, 56.88, 138.13°) |
| OKLab | oklab(49.11% -0.115 0.0867) |
| OKLCH | oklch(49.11% 0.144 143) |
| XYZ | xyz(7.0574, 12.8802, 3.4103) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.06
Darkish Green
#287C37
ΔE00 4.24
Green
#008000
ΔE00 5.25
Darkgreen
#006400
ΔE00 5.73
Dark Grass Green
#388004
ΔE00 6.46
Jungle Green
#048243
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F741F #741F74
analogous
#4A741F #1F741F #1F744A
triadic
#1F741F #1F1F74 #741F1F
tetradic
#1F741F #1F4A74 #741F74 #744A1F
square
#1F741F #1F4A74 #741F74 #744A1F
split-complementary
#1F741F #4A1F74 #741F4A
monochromatic
#061806 #124412 #1F741F #2CA42C #41CC41
Accessibility & contrast
On white
5.87
#1F741F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#1F741F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F741F
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F741F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F741F | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#047063
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #1f741f; /* rgb */ color: rgb(31, 116, 31); /* oklch */ color: oklch(49.1% 0.144 143.0);
Tailwind
colors: {
custom: {
50: '#699d60',
500: '#1f741f',
950: '#000000',
},
}SCSS
$custom: #1f741f; $custom-light: #699d60; $custom-dark: #000000;
JSON
{
"hex": "#1f741f",
"rgb": {
"r": 31,
"g": 116,
"b": 31
},
"hsl": {
"h": 120,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.49106,
"c": 0.14401,
"h": 143
},
"luminance": 0.12881
}Semantic roles & 50–950 ramp
primary
#1F741F
secondary
#A847A8
accent
#47E1E1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79