#1F8F26#1F8F26
#1F8F26 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.172 H 143.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8F26 |
|---|---|
| RGB | rgb(31, 143, 38) |
| HSL | hsl(124, 64%, 34%) |
| HSV | hsv(124, 78%, 56%) |
| CMYK | cmyk(78.3%, 0%, 73.4%, 43.9%) |
| CIE-LAB | lab(51.92, -51.06, 44.81) |
| CIE-LCH | lch(51.92, 67.94, 138.73°) |
| OKLab | oklab(56.88% -0.1383 0.102) |
| OKLCH | oklch(56.88% 0.172 143.6) |
| XYZ | xyz(10.7367, 20.0749, 5.1423) |
| Luminance | 0.2008 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.09
Forestgreen (CSS)
#228B22
ΔE00 1.43
Irish Green
#019529
ΔE00 2.17
Kelley Green
#009337
ΔE00 2.91
True Green
#089404
ΔE00 3.18
Green
#008000
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8F26 #8F1F88
analogous
#508F1F #1F8F26 #1F8F5E
triadic
#1F8F26 #261F8F #8F261F
tetradic
#1F8F26 #1F508F #8F1F88 #8F5E1F
square
#1F8F26 #1F508F #8F1F88 #8F5E1F
split-complementary
#1F8F26 #5E1F8F #8F1F50
monochromatic
#092A0B #145D19 #1F8F26 #2AC133 #4FD958
Accessibility & contrast
On white
4.19
#1F8F26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#1F8F26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8F26
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8F26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8F26 | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#867831
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #1f8f26; /* rgb */ color: rgb(31, 143, 38); /* oklch */ color: oklch(56.9% 0.172 143.6);
Tailwind
colors: {
custom: {
50: '#6fb167',
500: '#1f8f26',
950: '#000000',
},
}SCSS
$custom: #1f8f26; $custom-light: #6fb167; $custom-dark: #000000;
JSON
{
"hex": "#1f8f26",
"rgb": {
"r": 31,
"g": 143,
"b": 38
},
"hsl": {
"h": 123.75,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.56877,
"c": 0.17181,
"h": 143.6
},
"luminance": 0.20076
}Semantic roles & 50–950 ramp
primary
#1F8F26
secondary
#BC4EB5
accent
#40DDE7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A