#1F892E#1F892E
#1F892E is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.159 H 144.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1F892E |
|---|---|
| RGB | rgb(31, 137, 46) |
| HSL | hsl(128, 63%, 33%) |
| HSV | hsv(128, 77%, 54%) |
| CMYK | cmyk(77.4%, 0%, 66.4%, 46.3%) |
| CIE-LAB | lab(49.95, -48.21, 39.31) |
| CIE-LCH | lch(49.95, 62.21, 140.80°) |
| OKLab | oklab(55.26% -0.1302 0.0914) |
| OKLCH | oklch(55.26% 0.159 144.9) |
| XYZ | xyz(10.0032, 18.3787, 5.6045) |
| Luminance | 0.1838 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.01
Emerald Green
#028F1E
ΔE00 3.06
Kelley Green
#009337
ΔE00 3.62
Irish Green
#019529
ΔE00 4.36
Tree Green
#2A7E19
ΔE00 4.56
Green
#008000
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F892E #891F7A
analogous
#45891F #1F892E #1F8963
triadic
#1F892E #2E1F89 #892E1F
tetradic
#1F892E #1F4589 #891F7A #89631F
square
#1F892E #1F4589 #891F7A #89631F
split-complementary
#1F892E #631F89 #891F45
monochromatic
#08250C #14571D #1F892E #2ABB3F #4CD660
Accessibility & contrast
On white
4.49
#1F892E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#1F892E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F892E
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F892E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F892E | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7C23
Deuteranopia (green-blind)
#807436
Tritanopia (blue-blind)
#008576
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #1f892e; /* rgb */ color: rgb(31, 137, 46); /* oklch */ color: oklch(55.3% 0.159 144.9);
Tailwind
colors: {
custom: {
50: '#6dac6b',
500: '#1f892e',
950: '#000000',
},
}SCSS
$custom: #1f892e; $custom-light: #6dac6b; $custom-dark: #000000;
JSON
{
"hex": "#1f892e",
"rgb": {
"r": 31,
"g": 137,
"b": 46
},
"hsl": {
"h": 128.491,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.55263,
"c": 0.15902,
"h": 144.9
},
"luminance": 0.1838
}Semantic roles & 50–950 ramp
primary
#1F892E
secondary
#B94BAA
accent
#42CFE6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A