#1F741C#1F741C
#1F741C is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.146 H 142.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1F741C |
|---|---|
| RGB | rgb(31, 116, 28) |
| HSL | hsl(118, 61%, 28%) |
| HSV | hsv(118, 76%, 45%) |
| CMYK | cmyk(73.3%, 0%, 75.9%, 54.5%) |
| CIE-LAB | lab(42.56, -42.63, 39.17) |
| CIE-LCH | lch(42.56, 57.89, 137.42°) |
| OKLab | oklab(49.08% -0.1159 0.0888) |
| OKLCH | oklch(49.08% 0.146 142.5) |
| XYZ | xyz(7.0197, 12.8652, 3.2117) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.87
Darkish Green
#287C37
ΔE00 4.56
Green
#008000
ΔE00 5.00
Darkgreen
#006400
ΔE00 5.62
Dark Grass Green
#388004
ΔE00 6.19
Jungle Green
#048243
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F741C #711C74
analogous
#4B741C #1F741C #1C7445
triadic
#1F741C #1C1F74 #741C1F
tetradic
#1F741C #1C4B74 #711C74 #74451C
square
#1F741C #1C4B74 #711C74 #74451C
split-complementary
#1F741C #451C74 #741C4B
monochromatic
#071906 #124310 #1F741C #2CA528 #40D03B
Accessibility & contrast
On white
5.88
#1F741C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#1F741C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F741C
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F741C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F741C | 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)
#77690C
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#067063
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #1f741c; /* rgb */ color: rgb(31, 116, 28); /* oklch */ color: oklch(49.1% 0.146 142.5);
Tailwind
colors: {
custom: {
50: '#699d5e',
500: '#1f741c',
950: '#000000',
},
}SCSS
$custom: #1f741c; $custom-light: #699d5e; $custom-dark: #000000;
JSON
{
"hex": "#1f741c",
"rgb": {
"r": 31,
"g": 116,
"b": 28
},
"hsl": {
"h": 117.955,
"s": 61.111,
"l": 28.235
},
"oklch": {
"l": 0.4908,
"c": 0.14601,
"h": 142.5
},
"luminance": 0.12866
}Semantic roles & 50–950 ramp
primary
#1F741C
secondary
#A543A8
accent
#44E4DF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79