#1F8C2E#1F8C2E
#1F8C2E is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.163 H 144.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8C2E |
|---|---|
| RGB | rgb(31, 140, 46) |
| HSL | hsl(128, 64%, 34%) |
| HSV | hsv(128, 78%, 55%) |
| CMYK | cmyk(77.9%, 0%, 67.1%, 45.1%) |
| CIE-LAB | lab(50.97, -49.25, 40.44) |
| CIE-LCH | lch(50.97, 63.72, 140.61°) |
| OKLab | oklab(56.11% -0.133 0.0937) |
| OKLCH | oklch(56.11% 0.163 144.8) |
| XYZ | xyz(10.4356, 19.2435, 5.7486) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.65
Emerald Green
#028F1E
ΔE00 2.29
Kelley Green
#009337
ΔE00 2.74
Irish Green
#019529
ΔE00 3.29
True Green
#089404
ΔE00 4.83
Tree Green
#2A7E19
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8C2E #8C1F7D
analogous
#468C1F #1F8C2E #1F8C64
triadic
#1F8C2E #2E1F8C #8C2E1F
tetradic
#1F8C2E #1F468C #8C1F7D #8C641F
square
#1F8C2E #1F468C #8C1F7D #8C641F
split-complementary
#1F8C2E #641F8C #8C1F46
monochromatic
#09280D #145A1E #1F8C2E #2ABE3E #4ED861
Accessibility & contrast
On white
4.33
#1F8C2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#1F8C2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8C2E
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8C2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8C2E | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7F22
Deuteranopia (green-blind)
#827637
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #1f8c2e; /* rgb */ color: rgb(31, 140, 46); /* oklch */ color: oklch(56.1% 0.163 144.8);
Tailwind
colors: {
custom: {
50: '#6eaf6b',
500: '#1f8c2e',
950: '#000000',
},
}SCSS
$custom: #1f8c2e; $custom-light: #6eaf6b; $custom-dark: #000000;
JSON
{
"hex": "#1f8c2e",
"rgb": {
"r": 31,
"g": 140,
"b": 46
},
"hsl": {
"h": 128.257,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.56108,
"c": 0.16268,
"h": 144.8
},
"luminance": 0.19245
}Semantic roles & 50–950 ramp
primary
#1F8C2E
secondary
#BB4CAB
accent
#41D0E7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A