#1F7D46#1F7D46
#1F7D46 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.121 H 152.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7D46 |
|---|---|
| RGB | rgb(31, 125, 70) |
| HSL | hsl(145, 60%, 31%) |
| HSV | hsv(145, 75%, 49%) |
| CMYK | cmyk(75.2%, 0%, 44%, 51%) |
| CIE-LAB | lab(46.18, -40.08, 22.43) |
| CIE-LCH | lch(46.18, 45.93, 150.77°) |
| OKLab | oklab(52.24% -0.1079 0.0555) |
| OKLCH | oklch(52.24% 0.121 152.8) |
| XYZ | xyz(9.0034, 15.3997, 8.2911) |
| Luminance | 0.1540 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 2.33
Darkish Green
#287C37
ΔE00 3.46
Sea Green
#2E8B57
ΔE00 5.45
Dark Sea Green
#11875D
ΔE00 5.55
Dark Sage
#598556
ΔE00 8.06
Tree Green
#2A7E19
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7D46 #7D1F56
analogous
#277D1F #1F7D46 #1F7D75
triadic
#1F7D46 #461F7D #7D461F
tetradic
#1F7D46 #1F277D #7D1F56 #7D751F
square
#1F7D46 #1F277D #7D1F56 #7D751F
split-complementary
#1F7D46 #751F7D #7D1F27
monochromatic
#071B0F #134C2B #1F7D46 #2BAE61 #45D17F
Accessibility & contrast
On white
5.15
#1F7D46 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#1F7D46 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7D46
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7D46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7D46 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D7242
Deuteranopia (green-blind)
#726A4A
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f7d46; /* rgb */ color: rgb(31, 125, 70); /* oklch */ color: oklch(52.2% 0.121 152.8);
Tailwind
colors: {
custom: {
50: '#69a37a',
500: '#1f7d46',
950: '#000000',
},
}SCSS
$custom: #1f7d46; $custom-light: #69a37a; $custom-dark: #000000;
JSON
{
"hex": "#1f7d46",
"rgb": {
"r": 31,
"g": 125,
"b": 70
},
"hsl": {
"h": 144.894,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.52239,
"c": 0.12138,
"h": 152.8
},
"luminance": 0.15401
}Semantic roles & 50–950 ramp
primary
#1F7D46
secondary
#B04885
accent
#44A1E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B