#1F8237#1F8237
#1F8237 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.143 H 147.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8237 |
|---|---|
| RGB | rgb(31, 130, 55) |
| HSL | hsl(135, 61%, 32%) |
| HSV | hsv(135, 76%, 51%) |
| CMYK | cmyk(76.2%, 0%, 57.7%, 49%) |
| CIE-LAB | lab(47.66, -44.54, 32.34) |
| CIE-LCH | lch(47.66, 55.04, 144.02°) |
| OKLab | oklab(53.4% -0.1199 0.0771) |
| OKLCH | oklch(53.4% 0.143 147.2) |
| XYZ | xyz(9.2366, 16.5313, 6.3178) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.25
Jungle Green
#048243
ΔE00 2.98
Tree Green
#2A7E19
ΔE00 4.81
Forestgreen (CSS)
#228B22
ΔE00 5.22
Green
#008000
ΔE00 5.95
Kelley Green
#009337
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8237 #821F6A
analogous
#39821F #1F8237 #1F8269
triadic
#1F8237 #371F82 #82371F
tetradic
#1F8237 #1F3982 #821F6A #82691F
square
#1F8237 #1F3982 #821F6A #82691F
split-complementary
#1F8237 #691F82 #821F39
monochromatic
#071F0D #135122 #1F8237 #2BB34C #48D36A
Accessibility & contrast
On white
4.88
#1F8237 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#1F8237 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F8237
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8237 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F8237 | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847630
Deuteranopia (green-blind)
#786E3D
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #1f8237; /* rgb */ color: rgb(31, 130, 55); /* oklch */ color: oklch(53.4% 0.143 147.2);
Tailwind
colors: {
custom: {
50: '#6ba770',
500: '#1f8237',
950: '#000000',
},
}SCSS
$custom: #1f8237; $custom-light: #6ba770; $custom-dark: #000000;
JSON
{
"hex": "#1f8237",
"rgb": {
"r": 31,
"g": 130,
"b": 55
},
"hsl": {
"h": 134.545,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.53397,
"c": 0.14257,
"h": 147.2
},
"luminance": 0.16532
}Semantic roles & 50–950 ramp
primary
#1F8237
secondary
#B5489A
accent
#43BDE5
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A