#1F792E#1F792E
#1F792E is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.139 H 145.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #1F792E |
|---|---|
| RGB | rgb(31, 121, 46) |
| HSL | hsl(130, 59%, 30%) |
| HSV | hsv(130, 74%, 47%) |
| CMYK | cmyk(74.4%, 0%, 62%, 52.5%) |
| CIE-LAB | lab(44.46, -42.47, 33.10) |
| CIE-LCH | lch(44.46, 53.84, 142.06°) |
| OKLab | oklab(50.71% -0.1146 0.0781) |
| OKLCH | oklch(50.71% 0.139 145.7) |
| XYZ | xyz(7.8950, 14.1624, 4.9018) |
| Luminance | 0.1416 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.72
Tree Green
#2A7E19
ΔE00 4.37
Jungle Green
#048243
ΔE00 4.73
Green
#008000
ΔE00 5.76
Dark Grass Green
#388004
ΔE00 7.14
Forestgreen (CSS)
#228B22
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F792E #791F6A
analogous
#3D791F #1F792E #1F795B
triadic
#1F792E #2E1F79 #792E1F
tetradic
#1F792E #1F3D79 #791F6A #795B1F
square
#1F792E #1F3D79 #791F6A #795B1F
split-complementary
#1F792E #5B1F79 #791F3D
monochromatic
#061809 #13481B #1F792E #2BAA41 #43CF5B
Accessibility & contrast
On white
5.48
#1F792E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#1F792E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F792E
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F792E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F792E | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6E26
Deuteranopia (green-blind)
#706634
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #1f792e; /* rgb */ color: rgb(31, 121, 46); /* oklch */ color: oklch(50.7% 0.139 145.7);
Tailwind
colors: {
custom: {
50: '#69a169',
500: '#1f792e',
950: '#000000',
},
}SCSS
$custom: #1f792e; $custom-light: #69a169; $custom-dark: #000000;
JSON
{
"hex": "#1f792e",
"rgb": {
"r": 31,
"g": 121,
"b": 46
},
"hsl": {
"h": 130,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.50713,
"c": 0.13864,
"h": 145.7
},
"luminance": 0.14163
}Semantic roles & 50–950 ramp
primary
#1F792E
secondary
#AC479C
accent
#45C8E2
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A