#1F892F#1F892F
#1F892F is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.158 H 145.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1F892F |
|---|---|
| RGB | rgb(31, 137, 47) |
| HSL | hsl(129, 63%, 33%) |
| HSV | hsv(129, 77%, 54%) |
| CMYK | cmyk(77.4%, 0%, 65.7%, 46.3%) |
| CIE-LAB | lab(49.96, -48.09, 38.87) |
| CIE-LCH | lch(49.96, 61.84, 141.06°) |
| OKLab | oklab(55.27% -0.1298 0.0905) |
| OKLCH | oklch(55.27% 0.158 145.1) |
| XYZ | xyz(10.0231, 18.3867, 5.7095) |
| Luminance | 0.1839 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.16
Emerald Green
#028F1E
ΔE00 3.17
Kelley Green
#009337
ΔE00 3.59
Irish Green
#019529
ΔE00 4.41
Tree Green
#2A7E19
ΔE00 4.64
Green
#008000
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F892F #891F79
analogous
#44891F #1F892F #1F8964
triadic
#1F892F #2F1F89 #892F1F
tetradic
#1F892F #1F4489 #891F79 #89641F
square
#1F892F #1F4489 #891F79 #89641F
split-complementary
#1F892F #641F89 #891F44
monochromatic
#08250D #14571E #1F892F #2ABB40 #4CD661
Accessibility & contrast
On white
4.49
#1F892F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#1F892F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F892F
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F892F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F892F | 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)
#8B7C24
Deuteranopia (green-blind)
#7F7437
Tritanopia (blue-blind)
#008576
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #1f892f; /* rgb */ color: rgb(31, 137, 47); /* oklch */ color: oklch(55.3% 0.158 145.1);
Tailwind
colors: {
custom: {
50: '#6dac6b',
500: '#1f892f',
950: '#000000',
},
}SCSS
$custom: #1f892f; $custom-light: #6dac6b; $custom-dark: #000000;
JSON
{
"hex": "#1f892f",
"rgb": {
"r": 31,
"g": 137,
"b": 47
},
"hsl": {
"h": 129.057,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.55274,
"c": 0.15824,
"h": 145.1
},
"luminance": 0.18388
}Semantic roles & 50–950 ramp
primary
#1F892F
secondary
#B94BA8
accent
#42CDE6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A