#1F782C#1F782C
#1F782C is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.139 H 145.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1F782C |
|---|---|
| RGB | rgb(31, 120, 44) |
| HSL | hsl(129, 59%, 30%) |
| HSV | hsv(129, 74%, 47%) |
| CMYK | cmyk(74.2%, 0%, 63.3%, 52.9%) |
| CIE-LAB | lab(44.10, -42.36, 33.66) |
| CIE-LCH | lch(44.10, 54.10, 141.52°) |
| OKLab | oklab(50.4% -0.1144 0.0791) |
| OKLCH | oklch(50.4% 0.139 145.3) |
| XYZ | xyz(7.7356, 13.9052, 4.6587) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.11
Tree Green
#2A7E19
ΔE00 4.31
Jungle Green
#048243
ΔE00 5.14
Green
#008000
ΔE00 5.69
Dark Grass Green
#388004
ΔE00 7.06
Forestgreen (CSS)
#228B22
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F782C #781F6B
analogous
#3F781F #1F782C #1F7859
triadic
#1F782C #2C1F78 #782C1F
tetradic
#1F782C #1F3F78 #781F6B #78591F
square
#1F782C #1F3F78 #781F6B #78591F
split-complementary
#1F782C #591F78 #781F3F
monochromatic
#061809 #12471A #1F782C #2CA93E #43CE57
Accessibility & contrast
On white
5.55
#1F782C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#1F782C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F782C
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F782C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F782C | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6D24
Deuteranopia (green-blind)
#706532
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #1f782c; /* rgb */ color: rgb(31, 120, 44); /* oklch */ color: oklch(50.4% 0.139 145.3);
Tailwind
colors: {
custom: {
50: '#69a068',
500: '#1f782c',
950: '#000000',
},
}SCSS
$custom: #1f782c; $custom-light: #69a068; $custom-dark: #000000;
JSON
{
"hex": "#1f782c",
"rgb": {
"r": 31,
"g": 120,
"b": 44
},
"hsl": {
"h": 128.764,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.50401,
"c": 0.13905,
"h": 145.3
},
"luminance": 0.13906
}Semantic roles & 50–950 ramp
primary
#1F782C
secondary
#AB479D
accent
#46CBE2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A