#1F901C#1F901C
#1F901C is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.179 H 142.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1F901C |
|---|---|
| RGB | rgb(31, 144, 28) |
| HSL | hsl(118, 67%, 34%) |
| HSV | hsv(118, 81%, 56%) |
| CMYK | cmyk(78.5%, 0%, 80.6%, 43.5%) |
| CIE-LAB | lab(52.20, -52.17, 48.67) |
| CIE-LCH | lch(52.20, 71.35, 136.99°) |
| OKLab | oklab(57.09% -0.1417 0.1086) |
| OKLCH | oklch(57.09% 0.179 142.5) |
| XYZ | xyz(10.7473, 20.3204, 4.4542) |
| Luminance | 0.2032 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.24
Forestgreen (CSS)
#228B22
ΔE00 1.96
True Green
#089404
ΔE00 2.06
Irish Green
#019529
ΔE00 2.37
Kelley Green
#009337
ΔE00 3.86
Grass Green
#3F9B0B
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F901C #8D1C90
analogous
#59901C #1F901C #1C9053
triadic
#1F901C #1C1F90 #901C1F
tetradic
#1F901C #1C5990 #8D1C90 #90531C
square
#1F901C #1C5990 #8D1C90 #90531C
split-complementary
#1F901C #531C90 #901C59
monochromatic
#092A08 #145D12 #1F901C #2AC326 #4EDC4A
Accessibility & contrast
On white
4.15
#1F901C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#1F901C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F901C
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F901C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F901C | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #1f901c; /* rgb */ color: rgb(31, 144, 28); /* oklch */ color: oklch(57.1% 0.179 142.5);
Tailwind
colors: {
custom: {
50: '#70b262',
500: '#1f901c',
950: '#000000',
},
}SCSS
$custom: #1f901c; $custom-light: #70b262; $custom-dark: #000000;
JSON
{
"hex": "#1f901c",
"rgb": {
"r": 31,
"g": 144,
"b": 28
},
"hsl": {
"h": 118.448,
"s": 67.442,
"l": 33.725
},
"oklch": {
"l": 0.57086,
"c": 0.17858,
"h": 142.5
},
"luminance": 0.20322
}Semantic roles & 50–950 ramp
primary
#1F901C
secondary
#BB4ABE
accent
#3DEAE6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A