#1F783C#1F783C
#1F783C is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.124 H 149.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1F783C |
|---|---|
| RGB | rgb(31, 120, 60) |
| HSL | hsl(140, 59%, 30%) |
| HSV | hsv(140, 74%, 47%) |
| CMYK | cmyk(74.2%, 0%, 50%, 52.9%) |
| CIE-LAB | lab(44.30, -39.93, 25.57) |
| CIE-LCH | lch(44.30, 47.42, 147.37°) |
| OKLab | oklab(50.64% -0.1075 0.0624) |
| OKLCH | oklch(50.64% 0.124 149.9) |
| XYZ | xyz(8.0965, 14.0496, 6.5592) |
| Luminance | 0.1405 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.44
Jungle Green
#048243
ΔE00 3.64
Tree Green
#2A7E19
ΔE00 7.21
Sea Green
#2E8B57
ΔE00 7.59
Dark Sea Green
#11875D
ΔE00 7.84
Green
#008000
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F783C #781F5B
analogous
#2E781F #1F783C #1F7869
triadic
#1F783C #3C1F78 #783C1F
tetradic
#1F783C #1F2E78 #781F5B #78691F
square
#1F783C #1F2E78 #781F5B #78691F
split-complementary
#1F783C #691F78 #781F2E
monochromatic
#06180C #124724 #1F783C #2CA954 #43CE70
Accessibility & contrast
On white
5.51
#1F783C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#1F783C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F783C
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F783C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F783C | 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)
#796D37
Deuteranopia (green-blind)
#6E6640
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #1f783c; /* rgb */ color: rgb(31, 120, 60); /* oklch */ color: oklch(50.6% 0.124 149.9);
Tailwind
colors: {
custom: {
50: '#68a073',
500: '#1f783c',
950: '#000000',
},
}SCSS
$custom: #1f783c; $custom-light: #68a073; $custom-dark: #000000;
JSON
{
"hex": "#1f783c",
"rgb": {
"r": 31,
"g": 120,
"b": 60
},
"hsl": {
"h": 139.551,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.5064,
"c": 0.12425,
"h": 149.9
},
"luminance": 0.1405
}Semantic roles & 50–950 ramp
primary
#1F783C
secondary
#AB478B
accent
#46AFE2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B