#1F8D15#1F8D15
#1F8D15 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.178 H 142.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8D15 |
|---|---|
| RGB | rgb(31, 141, 21) |
| HSL | hsl(115, 74%, 32%) |
| HSV | hsv(115, 85%, 55%) |
| CMYK | cmyk(78%, 0%, 85.1%, 44.7%) |
| CIE-LAB | lab(51.15, -51.62, 49.76) |
| CIE-LCH | lch(51.15, 71.70, 136.05°) |
| OKLab | oklab(56.2% -0.1405 0.1099) |
| OKLCH | oklch(56.2% 0.178 142) |
| XYZ | xyz(10.2247, 19.3940, 3.9139) |
| Luminance | 0.1940 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.54
Emerald Green
#028F1E
ΔE00 1.59
True Green
#089404
ΔE00 2.62
Irish Green
#019529
ΔE00 3.43
Kelley Green
#009337
ΔE00 4.65
Green
#008000
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8D15 #83158D
analogous
#5B8D15 #1F8D15 #158D47
triadic
#1F8D15 #151F8D #8D151F
tetradic
#1F8D15 #155B8D #83158D #8D4715
square
#1F8D15 #155B8D #83158D #8D4715
split-complementary
#1F8D15 #47158D #8D155B
monochromatic
#082205 #13580D #1F8D15 #2BC21D #49E23B
Accessibility & contrast
On white
4.30
#1F8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#1F8D15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8D15
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8D15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8D15 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847725
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #1f8d15; /* rgb */ color: rgb(31, 141, 21); /* oklch */ color: oklch(56.2% 0.178 142.0);
Tailwind
colors: {
custom: {
50: '#70af5f',
500: '#1f8d15',
950: '#000000',
},
}SCSS
$custom: #1f8d15; $custom-light: #70af5f; $custom-dark: #000000;
JSON
{
"hex": "#1f8d15",
"rgb": {
"r": 31,
"g": 141,
"b": 21
},
"hsl": {
"h": 115,
"s": 74.074,
"l": 31.765
},
"oklch": {
"l": 0.562,
"c": 0.17843,
"h": 142
},
"luminance": 0.19395
}Semantic roles & 50–950 ramp
primary
#1F8D15
secondary
#B63DC1
accent
#37F1E1
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#091105
muted
#7B8079