#1F782F#1F782F
#1F782F is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.136 H 146.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1F782F |
|---|---|
| RGB | rgb(31, 120, 47) |
| HSL | hsl(131, 59%, 30%) |
| HSV | hsv(131, 74%, 47%) |
| CMYK | cmyk(74.2%, 0%, 60.8%, 52.9%) |
| CIE-LAB | lab(44.13, -41.96, 32.21) |
| CIE-LCH | lch(44.13, 52.90, 142.48°) |
| OKLab | oklab(50.44% -0.1132 0.0762) |
| OKLCH | oklch(50.44% 0.136 146) |
| XYZ | xyz(7.7941, 13.9286, 4.9665) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.79
Jungle Green
#048243
ΔE00 4.76
Tree Green
#2A7E19
ΔE00 4.78
Green
#008000
ΔE00 6.17
Dark Grass Green
#388004
ΔE00 7.52
Forestgreen (CSS)
#228B22
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F782F #781F68
analogous
#3B781F #1F782F #1F785C
triadic
#1F782F #2F1F78 #782F1F
tetradic
#1F782F #1F3B78 #781F68 #785C1F
square
#1F782F #1F3B78 #781F68 #785C1F
split-complementary
#1F782F #5C1F78 #781F3B
monochromatic
#06180A #12471C #1F782F #2CA942 #43CE5C
Accessibility & contrast
On white
5.55
#1F782F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#1F782F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F782F
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F782F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F782F | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6D28
Deuteranopia (green-blind)
#6F6535
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #1f782f; /* rgb */ color: rgb(31, 120, 47); /* oklch */ color: oklch(50.4% 0.136 146.0);
Tailwind
colors: {
custom: {
50: '#69a06a',
500: '#1f782f',
950: '#000000',
},
}SCSS
$custom: #1f782f; $custom-light: #69a06a; $custom-dark: #000000;
JSON
{
"hex": "#1f782f",
"rgb": {
"r": 31,
"g": 120,
"b": 47
},
"hsl": {
"h": 130.787,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.5044,
"c": 0.13645,
"h": 146
},
"luminance": 0.13929
}Semantic roles & 50–950 ramp
primary
#1F782F
secondary
#AB4799
accent
#46C6E2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A