#1F792F#1F792F
#1F792F is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.138 H 146.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #1F792F |
|---|---|
| RGB | rgb(31, 121, 47) |
| HSL | hsl(131, 59%, 30%) |
| HSV | hsv(131, 74%, 47%) |
| CMYK | cmyk(74.4%, 0%, 61.2%, 52.5%) |
| CIE-LAB | lab(44.48, -42.33, 32.62) |
| CIE-LCH | lch(44.48, 53.44, 142.38°) |
| OKLab | oklab(50.73% -0.1142 0.0771) |
| OKLCH | oklch(50.73% 0.138 146) |
| XYZ | xyz(7.9150, 14.1704, 5.0068) |
| Luminance | 0.1417 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.60
Tree Green
#2A7E19
ΔE00 4.54
Jungle Green
#048243
ΔE00 4.60
Green
#008000
ΔE00 5.92
Dark Grass Green
#388004
ΔE00 7.30
Forestgreen (CSS)
#228B22
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F792F #791F69
analogous
#3C791F #1F792F #1F795C
triadic
#1F792F #2F1F79 #792F1F
tetradic
#1F792F #1F3C79 #791F69 #795C1F
square
#1F792F #1F3C79 #791F69 #795C1F
split-complementary
#1F792F #5C1F79 #791F3C
monochromatic
#061809 #13481C #1F792F #2BAA42 #43CF5C
Accessibility & contrast
On white
5.48
#1F792F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#1F792F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F792F
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F792F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F792F | 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)
#7B6E27
Deuteranopia (green-blind)
#706635
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #1f792f; /* rgb */ color: rgb(31, 121, 47); /* oklch */ color: oklch(50.7% 0.138 146.0);
Tailwind
colors: {
custom: {
50: '#69a16a',
500: '#1f792f',
950: '#000000',
},
}SCSS
$custom: #1f792f; $custom-light: #69a16a; $custom-dark: #000000;
JSON
{
"hex": "#1f792f",
"rgb": {
"r": 31,
"g": 121,
"b": 47
},
"hsl": {
"h": 130.667,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.50726,
"c": 0.13777,
"h": 146
},
"luminance": 0.14171
}Semantic roles & 50–950 ramp
primary
#1F792F
secondary
#AC479A
accent
#45C6E2
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A