#1F8D26#1F8D26
#1F8D26 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.169 H 143.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8D26 |
|---|---|
| RGB | rgb(31, 141, 38) |
| HSL | hsl(124, 64%, 34%) |
| HSV | hsv(124, 78%, 55%) |
| CMYK | cmyk(78%, 0%, 73%, 44.7%) |
| CIE-LAB | lab(51.24, -50.40, 44.11) |
| CIE-LCH | lch(51.24, 66.98, 138.80°) |
| OKLab | oklab(56.31% -0.1365 0.1005) |
| OKLCH | oklch(56.31% 0.169 143.6) |
| XYZ | xyz(10.4391, 19.4798, 5.0432) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.83
Emerald Green
#028F1E
ΔE00 1.30
Irish Green
#019529
ΔE00 2.80
Kelley Green
#009337
ΔE00 3.17
True Green
#089404
ΔE00 3.69
Green
#008000
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8D26 #8D1F86
analogous
#4F8D1F #1F8D26 #1F8D5D
triadic
#1F8D26 #261F8D #8D261F
tetradic
#1F8D26 #1F4F8D #8D1F86 #8D5D1F
square
#1F8D26 #1F4F8D #8D1F86 #8D5D1F
split-complementary
#1F8D26 #5D1F8D #8D1F4F
monochromatic
#09290B #145B18 #1F8D26 #2ABF34 #4ED857
Accessibility & contrast
On white
4.29
#1F8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#1F8D26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8D26
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8D26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8D26 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F15
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #1f8d26; /* rgb */ color: rgb(31, 141, 38); /* oklch */ color: oklch(56.3% 0.169 143.6);
Tailwind
colors: {
custom: {
50: '#6faf67',
500: '#1f8d26',
950: '#000000',
},
}SCSS
$custom: #1f8d26; $custom-light: #6faf67; $custom-dark: #000000;
JSON
{
"hex": "#1f8d26",
"rgb": {
"r": 31,
"g": 141,
"b": 38
},
"hsl": {
"h": 123.818,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.56314,
"c": 0.16947,
"h": 143.6
},
"luminance": 0.19481
}Semantic roles & 50–950 ramp
primary
#1F8D26
secondary
#BB4DB4
accent
#41DCE7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A