#1F7D36#1F7D36
#1F7D36 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.137 H 147.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7D36 |
|---|---|
| RGB | rgb(31, 125, 54) |
| HSL | hsl(135, 60%, 31%) |
| HSV | hsv(135, 75%, 49%) |
| CMYK | cmyk(75.2%, 0%, 56.8%, 51%) |
| CIE-LAB | lab(45.94, -42.83, 30.78) |
| CIE-LCH | lch(45.94, 52.74, 144.29°) |
| OKLab | oklab(51.97% -0.1153 0.0737) |
| OKLCH | oklch(51.97% 0.137 147.4) |
| XYZ | xyz(8.5639, 15.2239, 5.9765) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 0.79
Jungle Green
#048243
ΔE00 3.10
Tree Green
#2A7E19
ΔE00 5.03
Green
#008000
ΔE00 6.36
Forestgreen (CSS)
#228B22
ΔE00 6.72
Sea Green
#2E8B57
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7D36 #7D1F66
analogous
#377D1F #1F7D36 #1F7D65
triadic
#1F7D36 #361F7D #7D361F
tetradic
#1F7D36 #1F377D #7D1F66 #7D651F
square
#1F7D36 #1F377D #7D1F66 #7D651F
split-complementary
#1F7D36 #651F7D #7D1F37
monochromatic
#071B0C #134C21 #1F7D36 #2BAE4B #45D168
Accessibility & contrast
On white
5.19
#1F7D36 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#1F7D36 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7D36
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7D36 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7D36 | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E712F
Deuteranopia (green-blind)
#746A3B
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f7d36; /* rgb */ color: rgb(31, 125, 54); /* oklch */ color: oklch(52.0% 0.137 147.4);
Tailwind
colors: {
custom: {
50: '#6aa46f',
500: '#1f7d36',
950: '#000000',
},
}SCSS
$custom: #1f7d36; $custom-light: #6aa46f; $custom-dark: #000000;
JSON
{
"hex": "#1f7d36",
"rgb": {
"r": 31,
"g": 125,
"b": 54
},
"hsl": {
"h": 134.681,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.51965,
"c": 0.13683,
"h": 147.4
},
"luminance": 0.15225
}Semantic roles & 50–950 ramp
primary
#1F7D36
secondary
#B04897
accent
#44BCE3
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A