#1F912E#1F912E
#1F912E is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.5% C 0.169 H 144.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1F912E |
|---|---|
| RGB | rgb(31, 145, 46) |
| HSL | hsl(128, 65%, 35%) |
| HSV | hsv(128, 79%, 57%) |
| CMYK | cmyk(78.6%, 0%, 68.3%, 43.1%) |
| CIE-LAB | lab(52.66, -50.95, 42.28) |
| CIE-LCH | lch(52.66, 66.21, 140.31°) |
| OKLab | oklab(57.51% -0.1376 0.0976) |
| OKLCH | oklch(57.51% 0.169 144.6) |
| XYZ | xyz(11.1828, 20.7380, 5.9977) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.65
Kelley Green
#009337
ΔE00 1.88
Emerald Green
#028F1E
ΔE00 1.91
Forestgreen (CSS)
#228B22
ΔE00 2.41
True Green
#089404
ΔE00 3.74
Emerald (survey)
#01A049
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F912E #911F82
analogous
#49911F #1F912E #1F9167
triadic
#1F912E #2E1F91 #912E1F
tetradic
#1F912E #1F4991 #911F82 #91671F
square
#1F912E #1F4991 #911F82 #91671F
split-complementary
#1F912E #671F91 #911F49
monochromatic
#092C0E #145F1E #1F912E #2AC33E #51DA63
Accessibility & contrast
On white
4.08
#1F912E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#1F912E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F912E
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F912E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F912E | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948321
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#008D7D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #1f912e; /* rgb */ color: rgb(31, 145, 46); /* oklch */ color: oklch(57.5% 0.169 144.6);
Tailwind
colors: {
custom: {
50: '#6fb26c',
500: '#1f912e',
950: '#000000',
},
}SCSS
$custom: #1f912e; $custom-light: #6fb26c; $custom-dark: #000000;
JSON
{
"hex": "#1f912e",
"rgb": {
"r": 31,
"g": 145,
"b": 46
},
"hsl": {
"h": 127.895,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.57512,
"c": 0.16872,
"h": 144.6
},
"luminance": 0.20739
}Semantic roles & 50–950 ramp
primary
#1F912E
secondary
#BD4FAE
accent
#40D2E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A