#1F8A26#1F8A26
#1F8A26 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.166 H 143.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8A26 |
|---|---|
| RGB | rgb(31, 138, 38) |
| HSL | hsl(124, 63%, 33%) |
| HSV | hsv(124, 78%, 54%) |
| CMYK | cmyk(77.5%, 0%, 72.5%, 45.9%) |
| CIE-LAB | lab(50.22, -49.38, 43.05) |
| CIE-LCH | lch(50.22, 65.52, 138.92°) |
| OKLab | oklab(55.47% -0.1337 0.0983) |
| OKLCH | oklch(55.47% 0.166 143.7) |
| XYZ | xyz(10.0028, 18.6070, 4.8977) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.77
Emerald Green
#028F1E
ΔE00 2.09
Kelley Green
#009337
ΔE00 3.80
Irish Green
#019529
ΔE00 3.82
Tree Green
#2A7E19
ΔE00 4.41
Green
#008000
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8A26 #8A1F83
analogous
#4D8A1F #1F8A26 #1F8A5B
triadic
#1F8A26 #261F8A #8A261F
tetradic
#1F8A26 #1F4D8A #8A1F83 #8A5B1F
square
#1F8A26 #1F4D8A #8A1F83 #8A5B1F
split-complementary
#1F8A26 #5B1F8A #8A1F4D
monochromatic
#09260A #145818 #1F8A26 #2ABC34 #4CD756
Accessibility & contrast
On white
4.45
#1F8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#1F8A26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8A26
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8A26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8A26 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D16
Deuteranopia (green-blind)
#817430
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #1f8a26; /* rgb */ color: rgb(31, 138, 38); /* oklch */ color: oklch(55.5% 0.166 143.7);
Tailwind
colors: {
custom: {
50: '#6ead66',
500: '#1f8a26',
950: '#000000',
},
}SCSS
$custom: #1f8a26; $custom-light: #6ead66; $custom-dark: #000000;
JSON
{
"hex": "#1f8a26",
"rgb": {
"r": 31,
"g": 138,
"b": 38
},
"hsl": {
"h": 123.925,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.55467,
"c": 0.16595,
"h": 143.7
},
"luminance": 0.18608
}Semantic roles & 50–950 ramp
primary
#1F8A26
secondary
#BA4BB2
accent
#41DCE6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A