#1F951C#1F951C
#1F951C is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.5% C 0.184 H 142.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1F951C |
|---|---|
| RGB | rgb(31, 149, 28) |
| HSL | hsl(119, 68%, 35%) |
| HSV | hsv(119, 81%, 58%) |
| CMYK | cmyk(79.2%, 0%, 81.2%, 41.6%) |
| CIE-LAB | lab(53.89, -53.79, 50.28) |
| CIE-LCH | lch(53.89, 73.63, 136.93°) |
| OKLab | oklab(58.49% -0.1461 0.112) |
| OKLCH | oklch(58.49% 0.184 142.5) |
| XYZ | xyz(11.5214, 21.8687, 4.7122) |
| Luminance | 0.2187 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 1.45
Irish Green
#019529
ΔE00 2.00
Emerald Green
#028F1E
ΔE00 2.55
Forestgreen (CSS)
#228B22
ΔE00 3.64
Grass Green
#3F9B0B
ΔE00 3.96
Kelley Green
#009337
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F951C #921C95
analogous
#5C951C #1F951C #1C9555
triadic
#1F951C #1C1F95 #951C1F
tetradic
#1F951C #1C5C95 #921C95 #95551C
square
#1F951C #1C5C95 #921C95 #95551C
split-complementary
#1F951C #551C95 #951C5C
monochromatic
#0A2E09 #146112 #1F951C #2AC926 #51DE4E
Accessibility & contrast
On white
3.91
#1F951C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#1F951C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F951C
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F951C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F951C | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #1f951c; /* rgb */ color: rgb(31, 149, 28); /* oklch */ color: oklch(58.5% 0.184 142.5);
Tailwind
colors: {
custom: {
50: '#71b563',
500: '#1f951c',
950: '#000000',
},
}SCSS
$custom: #1f951c; $custom-light: #71b563; $custom-dark: #000000;
JSON
{
"hex": "#1f951c",
"rgb": {
"r": 31,
"g": 149,
"b": 28
},
"hsl": {
"h": 118.512,
"s": 68.362,
"l": 34.706
},
"oklch": {
"l": 0.58492,
"c": 0.18409,
"h": 142.5
},
"luminance": 0.2187
}Semantic roles & 50–950 ramp
primary
#1F951C
secondary
#BD4DC0
accent
#3DEBE7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A