#1F783F#1F783F
#1F783F is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.121 H 151.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1F783F |
|---|---|
| RGB | rgb(31, 120, 63) |
| HSL | hsl(142, 59%, 30%) |
| HSV | hsv(142, 74%, 47%) |
| CMYK | cmyk(74.2%, 0%, 47.5%, 52.9%) |
| CIE-LAB | lab(44.35, -39.40, 23.98) |
| CIE-LCH | lch(44.35, 46.12, 148.68°) |
| OKLab | oklab(50.69% -0.106 0.0588) |
| OKLCH | oklch(50.69% 0.121 151) |
| XYZ | xyz(8.1781, 14.0822, 6.9888) |
| Luminance | 0.1408 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.99
Jungle Green
#048243
ΔE00 3.63
Sea Green
#2E8B57
ΔE00 7.35
Dark Sea Green
#11875D
ΔE00 7.35
Tree Green
#2A7E19
ΔE00 7.85
Dark Sage
#598556
ΔE00 9.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F783F #781F58
analogous
#2C781F #1F783F #1F786C
triadic
#1F783F #3F1F78 #783F1F
tetradic
#1F783F #1F2C78 #781F58 #786C1F
square
#1F783F #1F2C78 #781F58 #786C1F
split-complementary
#1F783F #6C1F78 #781F2C
monochromatic
#06180D #124725 #1F783F #2CA959 #43CE75
Accessibility & contrast
On white
5.50
#1F783F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#1F783F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F783F
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F783F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F783F | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796D3B
Deuteranopia (green-blind)
#6E6643
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #1f783f; /* rgb */ color: rgb(31, 120, 63); /* oklch */ color: oklch(50.7% 0.121 151.0);
Tailwind
colors: {
custom: {
50: '#68a075',
500: '#1f783f',
950: '#000000',
},
}SCSS
$custom: #1f783f; $custom-light: #68a075; $custom-dark: #000000;
JSON
{
"hex": "#1f783f",
"rgb": {
"r": 31,
"g": 120,
"b": 63
},
"hsl": {
"h": 141.573,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.50693,
"c": 0.12128,
"h": 151
},
"luminance": 0.14083
}Semantic roles & 50–950 ramp
primary
#1F783F
secondary
#AB4787
accent
#46AAE2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B