#1F8249#1F8249
#1F8249 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.125 H 153.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8249 |
|---|---|
| RGB | rgb(31, 130, 73) |
| HSL | hsl(145, 61%, 32%) |
| HSV | hsv(145, 76%, 51%) |
| CMYK | cmyk(76.2%, 0%, 43.8%, 49%) |
| CIE-LAB | lab(47.93, -41.49, 23.04) |
| CIE-LCH | lch(47.93, 47.46, 150.96°) |
| OKLab | oklab(53.7% -0.1117 0.057) |
| OKLCH | oklch(53.7% 0.125 153) |
| XYZ | xyz(9.7494, 16.7365, 9.0187) |
| Luminance | 0.1674 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 1.53
Sea Green
#2E8B57
ΔE00 3.85
Darkish Green
#287C37
ΔE00 3.94
Dark Sea Green
#11875D
ΔE00 4.72
Viridian
#1E9167
ΔE00 7.26
Dark Sage
#598556
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8249 #821F58
analogous
#26821F #1F8249 #1F827B
triadic
#1F8249 #491F82 #82491F
tetradic
#1F8249 #1F2682 #821F58 #827B1F
square
#1F8249 #1F2682 #821F58 #827B1F
split-complementary
#1F8249 #7B1F82 #821F26
monochromatic
#071F12 #13512D #1F8249 #2BB365 #48D383
Accessibility & contrast
On white
4.83
#1F8249 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#1F8249 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F8249
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8249 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F8249 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827745
Deuteranopia (green-blind)
#766E4D
Tritanopia (blue-blind)
#008074
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #1f8249; /* rgb */ color: rgb(31, 130, 73); /* oklch */ color: oklch(53.7% 0.125 153.0);
Tailwind
colors: {
custom: {
50: '#6ba77c',
500: '#1f8249',
950: '#000000',
},
}SCSS
$custom: #1f8249; $custom-light: #6ba77c; $custom-dark: #000000;
JSON
{
"hex": "#1f8249",
"rgb": {
"r": 31,
"g": 130,
"b": 73
},
"hsl": {
"h": 145.455,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.53699,
"c": 0.12543,
"h": 153
},
"luminance": 0.16738
}Semantic roles & 50–950 ramp
primary
#1F8249
secondary
#B54887
accent
#43A0E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#071009
muted
#7A7F7B