#1F912C#1F912C
#1F912C is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.5% C 0.170 H 144.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1F912C |
|---|---|
| RGB | rgb(31, 145, 44) |
| HSL | hsl(127, 65%, 35%) |
| HSV | hsv(127, 79%, 57%) |
| CMYK | cmyk(78.6%, 0%, 69.7%, 43.1%) |
| CIE-LAB | lab(52.64, -51.16, 43.12) |
| CIE-LCH | lch(52.64, 66.91, 139.87°) |
| OKLab | oklab(57.49% -0.1383 0.0992) |
| OKLCH | oklch(57.49% 0.17 144.3) |
| XYZ | xyz(11.1443, 20.7226, 5.7949) |
| Luminance | 0.2072 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.57
Emerald Green
#028F1E
ΔE00 1.71
Kelley Green
#009337
ΔE00 2.11
Forestgreen (CSS)
#228B22
ΔE00 2.28
True Green
#089404
ΔE00 3.48
Emerald (survey)
#01A049
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F912C #911F84
analogous
#4B911F #1F912C #1F9165
triadic
#1F912C #2C1F91 #912C1F
tetradic
#1F912C #1F4B91 #911F84 #91651F
square
#1F912C #1F4B91 #911F84 #91651F
split-complementary
#1F912C #651F91 #911F4B
monochromatic
#092C0D #145F1D #1F912C #2AC33B #51DA60
Accessibility & contrast
On white
4.08
#1F912C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#1F912C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F912C
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F912C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F912C | 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)
#94831E
Deuteranopia (green-blind)
#877A36
Tritanopia (blue-blind)
#008D7D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #1f912c; /* rgb */ color: rgb(31, 145, 44); /* oklch */ color: oklch(57.5% 0.170 144.3);
Tailwind
colors: {
custom: {
50: '#6fb26a',
500: '#1f912c',
950: '#000000',
},
}SCSS
$custom: #1f912c; $custom-light: #6fb26a; $custom-dark: #000000;
JSON
{
"hex": "#1f912c",
"rgb": {
"r": 31,
"g": 145,
"b": 44
},
"hsl": {
"h": 126.842,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.57493,
"c": 0.17015,
"h": 144.3
},
"luminance": 0.20724
}Semantic roles & 50–950 ramp
primary
#1F912C
secondary
#BD4FB0
accent
#40D5E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A