#1F804C#1F804C
#1F804C is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.2% C 0.120 H 154.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1F804C |
|---|---|
| RGB | rgb(31, 128, 76) |
| HSL | hsl(148, 61%, 31%) |
| HSV | hsv(148, 76%, 50%) |
| CMYK | cmyk(75.8%, 0%, 40.6%, 49.8%) |
| CIE-LAB | lab(47.30, -40.10, 20.54) |
| CIE-LCH | lch(47.30, 45.05, 152.88°) |
| OKLab | oklab(53.2% -0.1082 0.0512) |
| OKLCH | oklch(53.2% 0.12 154.7) |
| XYZ | xyz(9.5879, 16.2503, 9.4674) |
| Luminance | 0.1625 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 2.46
Dark Sea Green
#11875D
ΔE00 4.15
Sea Green
#2E8B57
ΔE00 4.23
Darkish Green
#287C37
ΔE00 4.58
Viridian
#1E9167
ΔE00 7.20
Dark Sage
#598556
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F804C #801F53
analogous
#22801F #1F804C #1F807C
triadic
#1F804C #4C1F80 #804C1F
tetradic
#1F804C #1F2280 #801F53 #807C1F
square
#1F804C #1F2280 #801F53 #807C1F
split-complementary
#1F804C #7C1F80 #801F22
monochromatic
#071D11 #134F2F #1F804C #2BB169 #47D288
Accessibility & contrast
On white
4.94
#1F804C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#1F804C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F804C
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F804C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F804C | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807548
Deuteranopia (green-blind)
#746D4F
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #1f804c; /* rgb */ color: rgb(31, 128, 76); /* oklch */ color: oklch(53.2% 0.120 154.7);
Tailwind
colors: {
custom: {
50: '#6aa67e',
500: '#1f804c',
950: '#000000',
},
}SCSS
$custom: #1f804c; $custom-light: #6aa67e; $custom-dark: #000000;
JSON
{
"hex": "#1f804c",
"rgb": {
"r": 31,
"g": 128,
"b": 76
},
"hsl": {
"h": 147.835,
"s": 61.006,
"l": 31.176
},
"oklch": {
"l": 0.53201,
"c": 0.11968,
"h": 154.7
},
"luminance": 0.16251
}Semantic roles & 50–950 ramp
primary
#1F804C
secondary
#B34881
accent
#449AE4
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C