#1F8726#1F8726
#1F8726 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.6% C 0.162 H 143.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8726 |
|---|---|
| RGB | rgb(31, 135, 38) |
| HSL | hsl(124, 63%, 33%) |
| HSV | hsv(124, 77%, 53%) |
| CMYK | cmyk(77%, 0%, 71.9%, 47.1%) |
| CIE-LAB | lab(49.20, -48.36, 41.98) |
| CIE-LCH | lch(49.20, 64.04, 139.04°) |
| OKLab | oklab(54.62% -0.1309 0.096) |
| OKLCH | oklch(54.62% 0.162 143.7) |
| XYZ | xyz(9.5783, 17.7581, 4.7562) |
| Luminance | 0.1776 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.70
Emerald Green
#028F1E
ΔE00 3.08
Tree Green
#2A7E19
ΔE00 3.49
Green
#008000
ΔE00 3.81
Kelley Green
#009337
ΔE00 4.61
Irish Green
#019529
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8726 #871F80
analogous
#4C871F #1F8726 #1F875A
triadic
#1F8726 #261F87 #87261F
tetradic
#1F8726 #1F4C87 #871F80 #875A1F
square
#1F8726 #1F4C87 #871F80 #875A1F
split-complementary
#1F8726 #5A1F87 #871F4C
monochromatic
#08230A #145518 #1F8726 #2AB934 #4BD654
Accessibility & contrast
On white
4.61
#1F8726 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#1F8726 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #1F8726
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8726 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F8726 | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #1f8726; /* rgb */ color: rgb(31, 135, 38); /* oklch */ color: oklch(54.6% 0.162 143.7);
Tailwind
colors: {
custom: {
50: '#6dab66',
500: '#1f8726',
950: '#000000',
},
}SCSS
$custom: #1f8726; $custom-light: #6dab66; $custom-dark: #000000;
JSON
{
"hex": "#1f8726",
"rgb": {
"r": 31,
"g": 135,
"b": 38
},
"hsl": {
"h": 124.038,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.54617,
"c": 0.16238,
"h": 143.7
},
"luminance": 0.17759
}Semantic roles & 50–950 ramp
primary
#1F8726
secondary
#B84AB1
accent
#42DBE6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A