#1F901E#1F901E
#1F901E is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.178 H 142.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1F901E |
|---|---|
| RGB | rgb(31, 144, 30) |
| HSL | hsl(119, 66%, 34%) |
| HSV | hsv(119, 79%, 56%) |
| CMYK | cmyk(78.5%, 0%, 79.2%, 43.5%) |
| CIE-LAB | lab(52.21, -52.04, 48.02) |
| CIE-LCH | lch(52.21, 70.81, 137.30°) |
| OKLab | oklab(57.1% -0.1413 0.1076) |
| OKLCH | oklch(57.1% 0.178 142.7) |
| XYZ | xyz(10.7720, 20.3303, 4.5845) |
| Luminance | 0.2033 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.15
Forestgreen (CSS)
#228B22
ΔE00 1.87
True Green
#089404
ΔE00 2.21
Irish Green
#019529
ΔE00 2.25
Kelley Green
#009337
ΔE00 3.67
Grass Green
#3F9B0B
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F901E #8F1E90
analogous
#58901E #1F901E #1E9056
triadic
#1F901E #1E1F90 #901E1F
tetradic
#1F901E #1E5890 #8F1E90 #90561E
square
#1F901E #1E5890 #8F1E90 #90561E
split-complementary
#1F901E #561E90 #901E58
monochromatic
#092B09 #145D13 #1F901E #2AC329 #4FDA4E
Accessibility & contrast
On white
4.14
#1F901E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#1F901E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F901E
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F901E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F901E | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938201
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #1f901e; /* rgb */ color: rgb(31, 144, 30); /* oklch */ color: oklch(57.1% 0.178 142.7);
Tailwind
colors: {
custom: {
50: '#70b263',
500: '#1f901e',
950: '#000000',
},
}SCSS
$custom: #1f901e; $custom-light: #70b263; $custom-dark: #000000;
JSON
{
"hex": "#1f901e",
"rgb": {
"r": 31,
"g": 144,
"b": 30
},
"hsl": {
"h": 119.474,
"s": 65.517,
"l": 34.118
},
"oklch": {
"l": 0.57099,
"c": 0.17757,
"h": 142.7
},
"luminance": 0.20332
}Semantic roles & 50–950 ramp
primary
#1F901E
secondary
#BC4DBD
accent
#3FE8E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A