#1F893E#1F893E
#1F893E is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.5% C 0.145 H 148.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1F893E |
|---|---|
| RGB | rgb(31, 137, 62) |
| HSL | hsl(138, 63%, 33%) |
| HSV | hsv(138, 77%, 54%) |
| CMYK | cmyk(77.4%, 0%, 54.7%, 46.3%) |
| CIE-LAB | lab(50.13, -46.06, 31.72) |
| CIE-LCH | lch(50.13, 55.93, 145.44°) |
| OKLab | oklab(55.47% -0.1238 0.0763) |
| OKLCH | oklch(55.47% 0.145 148.4) |
| XYZ | xyz(10.3794, 18.5292, 7.5860) |
| Luminance | 0.1853 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.62
Kelley Green
#009337
ΔE00 4.01
Darkish Green
#287C37
ΔE00 4.63
Forestgreen (CSS)
#228B22
ΔE00 4.67
Sea Green
#2E8B57
ΔE00 5.03
Emerald Green
#028F1E
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F893E #891F6A
analogous
#35891F #1F893E #1F8973
triadic
#1F893E #3E1F89 #893E1F
tetradic
#1F893E #1F3589 #891F6A #89731F
square
#1F893E #1F3589 #891F6A #89731F
split-complementary
#1F893E #731F89 #891F35
monochromatic
#082511 #145727 #1F893E #2ABB55 #4CD674
Accessibility & contrast
On white
4.46
#1F893E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#1F893E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F893E
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F893E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F893E | 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)
#8A7C37
Deuteranopia (green-blind)
#7E7444
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #1f893e; /* rgb */ color: rgb(31, 137, 62); /* oklch */ color: oklch(55.5% 0.145 148.4);
Tailwind
colors: {
custom: {
50: '#6dac75',
500: '#1f893e',
950: '#000000',
},
}SCSS
$custom: #1f893e; $custom-light: #6dac75; $custom-dark: #000000;
JSON
{
"hex": "#1f893e",
"rgb": {
"r": 31,
"g": 137,
"b": 62
},
"hsl": {
"h": 137.547,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.5547,
"c": 0.14545,
"h": 148.4
},
"luminance": 0.1853
}Semantic roles & 50–950 ramp
primary
#1F893E
secondary
#B94B99
accent
#42B6E6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B