#1F7939#1F7939
#1F7939 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.129 H 148.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7939 |
|---|---|
| RGB | rgb(31, 121, 57) |
| HSL | hsl(137, 59%, 30%) |
| HSV | hsv(137, 74%, 47%) |
| CMYK | cmyk(74.4%, 0%, 52.9%, 52.5%) |
| CIE-LAB | lab(44.60, -40.83, 27.57) |
| CIE-LCH | lch(44.60, 49.27, 145.97°) |
| OKLab | oklab(50.87% -0.1099 0.0667) |
| OKLCH | oklch(50.87% 0.129 148.7) |
| XYZ | xyz(8.1403, 14.2605, 6.1937) |
| Luminance | 0.1426 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.66
Jungle Green
#048243
ΔE00 3.50
Tree Green
#2A7E19
ΔE00 6.37
Sea Green
#2E8B57
ΔE00 7.64
Green
#008000
ΔE00 7.75
Dark Sea Green
#11875D
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7939 #791F5F
analogous
#32791F #1F7939 #1F7966
triadic
#1F7939 #391F79 #79391F
tetradic
#1F7939 #1F3279 #791F5F #79661F
square
#1F7939 #1F3279 #791F5F #79661F
split-complementary
#1F7939 #661F79 #791F32
monochromatic
#06180B #134822 #1F7939 #2BAA50 #43CF6C
Accessibility & contrast
On white
5.45
#1F7939 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#1F7939 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7939
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7939 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7939 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6E34
Deuteranopia (green-blind)
#6F673E
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #1f7939; /* rgb */ color: rgb(31, 121, 57); /* oklch */ color: oklch(50.9% 0.129 148.7);
Tailwind
colors: {
custom: {
50: '#69a171',
500: '#1f7939',
950: '#000000',
},
}SCSS
$custom: #1f7939; $custom-light: #69a171; $custom-dark: #000000;
JSON
{
"hex": "#1f7939",
"rgb": {
"r": 31,
"g": 121,
"b": 57
},
"hsl": {
"h": 137.333,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.50874,
"c": 0.12855,
"h": 148.7
},
"luminance": 0.14261
}Semantic roles & 50–950 ramp
primary
#1F7939
secondary
#AC478F
accent
#45B5E2
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A