#1F783B#1F783B
#1F783B is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.125 H 149.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1F783B |
|---|---|
| RGB | rgb(31, 120, 59) |
| HSL | hsl(139, 59%, 30%) |
| HSV | hsv(139, 74%, 47%) |
| CMYK | cmyk(74.2%, 0%, 50.8%, 52.9%) |
| CIE-LAB | lab(44.29, -40.10, 26.10) |
| CIE-LCH | lch(44.29, 47.85, 146.95°) |
| OKLab | oklab(50.62% -0.1079 0.0635) |
| OKLCH | oklch(50.62% 0.125 149.5) |
| XYZ | xyz(8.0703, 14.0391, 6.4213) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.27
Jungle Green
#048243
ΔE00 3.67
Tree Green
#2A7E19
ΔE00 7.01
Sea Green
#2E8B57
ΔE00 7.68
Dark Sea Green
#11875D
ΔE00 8.00
Green
#008000
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F783B #781F5C
analogous
#30781F #1F783B #1F7867
triadic
#1F783B #3B1F78 #783B1F
tetradic
#1F783B #1F3078 #781F5C #78671F
square
#1F783B #1F3078 #781F5C #78671F
split-complementary
#1F783B #671F78 #781F30
monochromatic
#06180C #124723 #1F783B #2CA953 #43CE6F
Accessibility & contrast
On white
5.51
#1F783B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#1F783B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F783B
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F783B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F783B | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796D36
Deuteranopia (green-blind)
#6E663F
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #1f783b; /* rgb */ color: rgb(31, 120, 59); /* oklch */ color: oklch(50.6% 0.125 149.5);
Tailwind
colors: {
custom: {
50: '#68a072',
500: '#1f783b',
950: '#000000',
},
}SCSS
$custom: #1f783b; $custom-light: #68a072; $custom-dark: #000000;
JSON
{
"hex": "#1f783b",
"rgb": {
"r": 31,
"g": 120,
"b": 59
},
"hsl": {
"h": 138.876,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.50622,
"c": 0.12522,
"h": 149.5
},
"luminance": 0.1404
}Semantic roles & 50–950 ramp
primary
#1F783B
secondary
#AB478C
accent
#46B1E2
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070F08
muted
#7A7E7B