#1F912A#1F912A
#1F912A is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.5% C 0.172 H 144.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1F912A |
|---|---|
| RGB | rgb(31, 145, 42) |
| HSL | hsl(126, 65%, 35%) |
| HSV | hsv(126, 79%, 57%) |
| CMYK | cmyk(78.6%, 0%, 71%, 43.1%) |
| CIE-LAB | lab(52.63, -51.36, 43.94) |
| CIE-LCH | lch(52.63, 67.59, 139.45°) |
| OKLab | oklab(57.47% -0.1389 0.1006) |
| OKLCH | oklch(57.47% 0.172 144.1) |
| XYZ | xyz(11.1076, 20.7080, 5.6017) |
| Luminance | 0.2071 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.54
Emerald Green
#028F1E
ΔE00 1.54
Forestgreen (CSS)
#228B22
ΔE00 2.19
Kelley Green
#009337
ΔE00 2.35
True Green
#089404
ΔE00 3.23
Grass Green
#3F9B0B
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F912A #911F86
analogous
#4D911F #1F912A #1F9163
triadic
#1F912A #2A1F91 #912A1F
tetradic
#1F912A #1F4D91 #911F86 #91631F
square
#1F912A #1F4D91 #911F86 #91631F
split-complementary
#1F912A #631F91 #911F4D
monochromatic
#092C0D #145F1B #1F912A #2AC339 #51DA5E
Accessibility & contrast
On white
4.08
#1F912A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#1F912A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F912A
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F912A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F912A | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#008D7C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #1f912a; /* rgb */ color: rgb(31, 145, 42); /* oklch */ color: oklch(57.5% 0.172 144.1);
Tailwind
colors: {
custom: {
50: '#70b269',
500: '#1f912a',
950: '#000000',
},
}SCSS
$custom: #1f912a; $custom-light: #70b269; $custom-dark: #000000;
JSON
{
"hex": "#1f912a",
"rgb": {
"r": 31,
"g": 145,
"b": 42
},
"hsl": {
"h": 125.789,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.57474,
"c": 0.17152,
"h": 144.1
},
"luminance": 0.20709
}Semantic roles & 50–950 ramp
primary
#1F912A
secondary
#BD4FB2
accent
#40D8E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A