#1F8451#1F8451
#1F8451 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.120 H 155.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8451 |
|---|---|
| RGB | rgb(31, 132, 81) |
| HSL | hsl(150, 62%, 32%) |
| HSV | hsv(150, 77%, 52%) |
| CMYK | cmyk(76.5%, 0%, 38.6%, 48.2%) |
| CIE-LAB | lab(48.74, -40.68, 19.63) |
| CIE-LCH | lch(48.74, 45.17, 154.24°) |
| OKLab | oklab(54.42% -0.1099 0.0492) |
| OKLCH | oklch(54.42% 0.12 155.9) |
| XYZ | xyz(10.3006, 17.3867, 10.5961) |
| Luminance | 0.1739 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Sea Green
#2E8B57
ΔE00 2.83
Jungle Green
#048243
ΔE00 2.98
Dark Sea Green
#11875D
ΔE00 3.00
Darkish Green
#287C37
ΔE00 5.64
Viridian
#1E9167
ΔE00 5.68
Dark Sage
#598556
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8451 #841F52
analogous
#20841F #1F8451 #1F8484
triadic
#1F8451 #511F84 #84511F
tetradic
#1F8451 #1F2084 #841F52 #84841F
square
#1F8451 #1F2084 #841F52 #84841F
split-complementary
#1F8451 #841F84 #841F20
monochromatic
#082114 #135233 #1F8451 #2BB66F #49D48E
Accessibility & contrast
On white
4.69
#1F8451 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#1F8451 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F8451
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8451 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F8451 | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83794E
Deuteranopia (green-blind)
#777054
Tritanopia (blue-blind)
#008377
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #1f8451; /* rgb */ color: rgb(31, 132, 81); /* oklch */ color: oklch(54.4% 0.120 155.9);
Tailwind
colors: {
custom: {
50: '#6ba982',
500: '#1f8451',
950: '#000000',
},
}SCSS
$custom: #1f8451; $custom-light: #6ba982; $custom-dark: #000000;
JSON
{
"hex": "#1f8451",
"rgb": {
"r": 31,
"g": 132,
"b": 81
},
"hsl": {
"h": 149.703,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.5442,
"c": 0.12038,
"h": 155.9
},
"luminance": 0.17388
}Semantic roles & 50–950 ramp
primary
#1F8451
secondary
#B74880
accent
#4395E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C