#1F7136#1F7136
#1F7136 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.120 H 148.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7136 |
|---|---|
| RGB | rgb(31, 113, 54) |
| HSL | hsl(137, 57%, 28%) |
| HSV | hsv(137, 73%, 44%) |
| CMYK | cmyk(72.6%, 0%, 52.2%, 55.7%) |
| CIE-LAB | lab(41.79, -38.18, 25.71) |
| CIE-LCH | lch(41.79, 46.03, 146.05°) |
| OKLab | oklab(48.54% -0.1028 0.0624) |
| OKLCH | oklch(48.54% 0.12 148.8) |
| XYZ | xyz(7.1355, 12.3671, 5.5004) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.17
Jungle Green
#048243
ΔE00 6.00
Spruce
#0A5F38
ΔE00 7.39
Pine
#2B5D34
ΔE00 7.49
Darkgreen
#006400
ΔE00 7.77
Tree Green
#2A7E19
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7136 #711F5A
analogous
#31711F #1F7136 #1F715F
triadic
#1F7136 #361F71 #71361F
tetradic
#1F7136 #1F3171 #711F5A #715F1F
square
#1F7136 #1F3171 #711F5A #715F1F
split-complementary
#1F7136 #5F1F71 #711F31
monochromatic
#07180B #12411F #1F7136 #2CA14D #40CB67
Accessibility & contrast
On white
6.05
#1F7136 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#1F7136 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7136
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7136 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7136 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726731
Deuteranopia (green-blind)
#68603A
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #1f7136; /* rgb */ color: rgb(31, 113, 54); /* oklch */ color: oklch(48.5% 0.120 148.8);
Tailwind
colors: {
custom: {
50: '#679b6e',
500: '#1f7136',
950: '#000000',
},
}SCSS
$custom: #1f7136; $custom-light: #679b6e; $custom-dark: #000000;
JSON
{
"hex": "#1f7136",
"rgb": {
"r": 31,
"g": 113,
"b": 54
},
"hsl": {
"h": 136.829,
"s": 56.944,
"l": 28.235
},
"oklch": {
"l": 0.48537,
"c": 0.12028,
"h": 148.8
},
"luminance": 0.12368
}Semantic roles & 50–950 ramp
primary
#1F7136
secondary
#A5478B
accent
#48B5E0
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A