#3E8D1F#3E8D1F
#3E8D1F is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.162 H 138.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3E8D1F |
|---|---|
| RGB | rgb(62, 141, 31) |
| HSL | hsl(103, 64%, 34%) |
| HSV | hsv(103, 78%, 55%) |
| CMYK | cmyk(56%, 0%, 78%, 44.7%) |
| CIE-LAB | lab(52.03, -44.10, 47.79) |
| CIE-LCH | lch(52.03, 65.03, 132.70°) |
| OKLab | oklab(57.19% -0.1217 0.1069) |
| OKLCH | oklch(57.19% 0.162 138.7) |
| XYZ | xyz(11.7584, 20.1719, 4.5700) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.93
Emerald Green
#028F1E
ΔE00 3.66
True Green
#089404
ΔE00 3.88
Irish Green
#019529
ΔE00 4.60
Dark Grass Green
#388004
ΔE00 4.90
Sap Green
#5C8B15
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E8D1F #6E1F8D
analogous
#758D1F #3E8D1F #1F8D37
triadic
#3E8D1F #1F3E8D #8D1F3E
tetradic
#3E8D1F #1F758D #6E1F8D #8D371F
square
#3E8D1F #1F758D #6E1F8D #8D371F
split-complementary
#3E8D1F #371F8D #8D1F75
monochromatic
#122909 #285B14 #3E8D1F #54BF2A #75D84E
Accessibility & contrast
On white
4.17
#3E8D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#3E8D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3E8D1F
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E8D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3E8D1F | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#877A2B
Tritanopia (blue-blind)
#378878
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #3e8d1f; /* rgb */ color: rgb(62, 141, 31); /* oklch */ color: oklch(57.2% 0.162 138.7);
Tailwind
colors: {
custom: {
50: '#7caf63',
500: '#3e8d1f',
950: '#000000',
},
}SCSS
$custom: #3e8d1f; $custom-light: #7caf63; $custom-dark: #000000;
JSON
{
"hex": "#3e8d1f",
"rgb": {
"r": 62,
"g": 141,
"b": 31
},
"hsl": {
"h": 103.091,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.57187,
"c": 0.16198,
"h": 138.7
},
"luminance": 0.20173
}Semantic roles & 50–950 ramp
primary
#3E8D1F
secondary
#9C4DBB
accent
#41E7B8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A