#1F741B#1F741B
#1F741B is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.147 H 142.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1F741B |
|---|---|
| RGB | rgb(31, 116, 27) |
| HSL | hsl(117, 62%, 28%) |
| HSV | hsv(117, 77%, 45%) |
| CMYK | cmyk(73.3%, 0%, 76.7%, 54.5%) |
| CIE-LAB | lab(42.55, -42.72, 39.56) |
| CIE-LCH | lch(42.55, 58.22, 137.20°) |
| OKLab | oklab(49.07% -0.1162 0.0895) |
| OKLCH | oklch(49.07% 0.147 142.4) |
| XYZ | xyz(7.0079, 12.8605, 3.1497) |
| Luminance | 0.1286 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.82
Darkish Green
#287C37
ΔE00 4.67
Green
#008000
ΔE00 4.93
Darkgreen
#006400
ΔE00 5.59
Dark Grass Green
#388004
ΔE00 6.10
Jungle Green
#048243
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F741B #701B74
analogous
#4B741B #1F741B #1B7443
triadic
#1F741B #1B1F74 #741B1F
tetradic
#1F741B #1B4B74 #701B74 #74431B
square
#1F741B #1B4B74 #701B74 #74431B
split-complementary
#1F741B #431B74 #741B4B
monochromatic
#071906 #12420F #1F741B #2CA627 #3FD139
Accessibility & contrast
On white
5.88
#1F741B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#1F741B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F741B
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F741B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F741B | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77690A
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#067063
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #1f741b; /* rgb */ color: rgb(31, 116, 27); /* oklch */ color: oklch(49.1% 0.147 142.4);
Tailwind
colors: {
custom: {
50: '#699d5e',
500: '#1f741b',
950: '#000000',
},
}SCSS
$custom: #1f741b; $custom-light: #699d5e; $custom-dark: #000000;
JSON
{
"hex": "#1f741b",
"rgb": {
"r": 31,
"g": 116,
"b": 27
},
"hsl": {
"h": 117.303,
"s": 62.238,
"l": 28.039
},
"oklch": {
"l": 0.49072,
"c": 0.14665,
"h": 142.4
},
"luminance": 0.12861
}Semantic roles & 50–950 ramp
primary
#1F741B
secondary
#A442A9
accent
#42E5DE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79