#1F7936#1F7936
#1F7936 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.131 H 147.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7936 |
|---|---|
| RGB | rgb(31, 121, 54) |
| HSL | hsl(135, 59%, 30%) |
| HSV | hsv(135, 74%, 47%) |
| CMYK | cmyk(74.4%, 0%, 55.4%, 52.5%) |
| CIE-LAB | lab(44.56, -41.31, 29.12) |
| CIE-LCH | lch(44.56, 50.54, 144.82°) |
| OKLab | oklab(50.83% -0.1112 0.07) |
| OKLCH | oklch(50.83% 0.131 147.8) |
| XYZ | xyz(8.0677, 14.2315, 5.8111) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.36
Jungle Green
#048243
ΔE00 3.76
Tree Green
#2A7E19
ΔE00 5.78
Green
#008000
ΔE00 7.17
Sea Green
#2E8B57
ΔE00 7.96
Forestgreen (CSS)
#228B22
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7936 #791F62
analogous
#35791F #1F7936 #1F7963
triadic
#1F7936 #361F79 #79361F
tetradic
#1F7936 #1F3579 #791F62 #79631F
square
#1F7936 #1F3579 #791F62 #79631F
split-complementary
#1F7936 #631F79 #791F35
monochromatic
#06180B #134820 #1F7936 #2BAA4C #43CF67
Accessibility & contrast
On white
5.46
#1F7936 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#1F7936 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7936
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7936 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7936 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6E30
Deuteranopia (green-blind)
#70663B
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #1f7936; /* rgb */ color: rgb(31, 121, 54); /* oklch */ color: oklch(50.8% 0.131 147.8);
Tailwind
colors: {
custom: {
50: '#69a16f',
500: '#1f7936',
950: '#000000',
},
}SCSS
$custom: #1f7936; $custom-light: #69a16f; $custom-dark: #000000;
JSON
{
"hex": "#1f7936",
"rgb": {
"r": 31,
"g": 121,
"b": 54
},
"hsl": {
"h": 135.333,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.50826,
"c": 0.13141,
"h": 147.8
},
"luminance": 0.14232
}Semantic roles & 50–950 ramp
primary
#1F7936
secondary
#AC4793
accent
#45BAE2
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A