#1F893F#1F893F
#1F893F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.5% C 0.145 H 148.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1F893F |
|---|---|
| RGB | rgb(31, 137, 63) |
| HSL | hsl(138, 63%, 33%) |
| HSV | hsv(138, 77%, 54%) |
| CMYK | cmyk(77.4%, 0%, 54%, 46.3%) |
| CIE-LAB | lab(50.15, -45.90, 31.22) |
| CIE-LCH | lch(50.15, 55.52, 145.78°) |
| OKLab | oklab(55.48% -0.1234 0.0752) |
| OKLCH | oklch(55.48% 0.145 148.6) |
| XYZ | xyz(10.4071, 18.5403, 7.7318) |
| Luminance | 0.1854 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.51
Kelley Green
#009337
ΔE00 4.11
Darkish Green
#287C37
ΔE00 4.64
Sea Green
#2E8B57
ΔE00 4.85
Forestgreen (CSS)
#228B22
ΔE00 4.85
Emerald Green
#028F1E
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F893F #891F69
analogous
#34891F #1F893F #1F8974
triadic
#1F893F #3F1F89 #893F1F
tetradic
#1F893F #1F3489 #891F69 #89741F
square
#1F893F #1F3489 #891F69 #89741F
split-complementary
#1F893F #741F89 #891F34
monochromatic
#082511 #145728 #1F893F #2ABB56 #4CD676
Accessibility & contrast
On white
4.46
#1F893F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#1F893F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F893F
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F893F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F893F | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7C38
Deuteranopia (green-blind)
#7E7445
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #1f893f; /* rgb */ color: rgb(31, 137, 63); /* oklch */ color: oklch(55.5% 0.145 148.6);
Tailwind
colors: {
custom: {
50: '#6dac76',
500: '#1f893f',
950: '#000000',
},
}SCSS
$custom: #1f893f; $custom-light: #6dac76; $custom-dark: #000000;
JSON
{
"hex": "#1f893f",
"rgb": {
"r": 31,
"g": 137,
"b": 63
},
"hsl": {
"h": 138.113,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.55485,
"c": 0.14454,
"h": 148.6
},
"luminance": 0.18542
}Semantic roles & 50–950 ramp
primary
#1F893F
secondary
#B94B98
accent
#42B4E6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B