#1F8C2F#1F8C2F
#1F8C2F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.162 H 145.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8C2F |
|---|---|
| RGB | rgb(31, 140, 47) |
| HSL | hsl(129, 64%, 34%) |
| HSV | hsv(129, 78%, 55%) |
| CMYK | cmyk(77.9%, 0%, 66.4%, 45.1%) |
| CIE-LAB | lab(50.98, -49.13, 40.00) |
| CIE-LCH | lch(50.98, 63.36, 140.85°) |
| OKLab | oklab(56.12% -0.1326 0.0929) |
| OKLCH | oklch(56.12% 0.162 145) |
| XYZ | xyz(10.4555, 19.2515, 5.8536) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.80
Emerald Green
#028F1E
ΔE00 2.41
Kelley Green
#009337
ΔE00 2.68
Irish Green
#019529
ΔE00 3.34
True Green
#089404
ΔE00 4.95
Tree Green
#2A7E19
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8C2F #8C1F7C
analogous
#458C1F #1F8C2F #1F8C65
triadic
#1F8C2F #2F1F8C #8C2F1F
tetradic
#1F8C2F #1F458C #8C1F7C #8C651F
square
#1F8C2F #1F458C #8C1F7C #8C651F
split-complementary
#1F8C2F #651F8C #8C1F45
monochromatic
#09280D #145A1E #1F8C2F #2ABE40 #4ED862
Accessibility & contrast
On white
4.33
#1F8C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#1F8C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8C2F
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8C2F | 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)
#8E7F24
Deuteranopia (green-blind)
#827637
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #1f8c2f; /* rgb */ color: rgb(31, 140, 47); /* oklch */ color: oklch(56.1% 0.162 145.0);
Tailwind
colors: {
custom: {
50: '#6eaf6c',
500: '#1f8c2f',
950: '#000000',
},
}SCSS
$custom: #1f8c2f; $custom-light: #6eaf6c; $custom-dark: #000000;
JSON
{
"hex": "#1f8c2f",
"rgb": {
"r": 31,
"g": 140,
"b": 47
},
"hsl": {
"h": 128.807,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.56119,
"c": 0.16194,
"h": 145
},
"luminance": 0.19253
}Semantic roles & 50–950 ramp
primary
#1F8C2F
secondary
#BB4CAA
accent
#41CEE7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A