#3E7D1F#3E7D1F
#3E7D1F is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.8% C 0.142 H 137.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #3E7D1F |
|---|---|
| RGB | rgb(62, 125, 31) |
| HSL | hsl(100, 60%, 31%) |
| HSV | hsv(100, 75%, 49%) |
| CMYK | cmyk(50.4%, 0%, 75.2%, 51%) |
| CIE-LAB | lab(46.70, -37.66, 42.51) |
| CIE-LCH | lch(46.70, 56.79, 131.54°) |
| OKLab | oklab(52.79% -0.1043 0.0959) |
| OKLCH | oklch(52.79% 0.142 137.4) |
| XYZ | xyz(9.5672, 15.7896, 3.8396) |
| Luminance | 0.1579 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.28
Dark Grass Green
#388004
ΔE00 2.59
Green
#008000
ΔE00 4.47
Forestgreen (CSS)
#228B22
ΔE00 5.59
Darkish Green
#287C37
ΔE00 5.63
Avocado
#568203
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E7D1F #5E1F7D
analogous
#6D7D1F #3E7D1F #1F7D2F
triadic
#3E7D1F #1F3E7D #7D1F3E
tetradic
#3E7D1F #1F6D7D #5E1F7D #7D2F1F
square
#3E7D1F #1F6D7D #5E1F7D #7D2F1F
split-complementary
#3E7D1F #2F1F7D #7D1F6D
monochromatic
#0D1B07 #264C13 #3E7D1F #56AE2B #73D145
Accessibility & contrast
On white
5.05
#3E7D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#3E7D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3E7D1F
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E7D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E7D1F | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#796D28
Tritanopia (blue-blind)
#3A786B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3e7d1f; /* rgb */ color: rgb(62, 125, 31); /* oklch */ color: oklch(52.8% 0.142 137.4);
Tailwind
colors: {
custom: {
50: '#7aa361',
500: '#3e7d1f',
950: '#000000',
},
}SCSS
$custom: #3e7d1f; $custom-light: #7aa361; $custom-dark: #000000;
JSON
{
"hex": "#3e7d1f",
"rgb": {
"r": 62,
"g": 125,
"b": 31
},
"hsl": {
"h": 100.213,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.52794,
"c": 0.1417,
"h": 137.4
},
"luminance": 0.1579
}Semantic roles & 50–950 ramp
primary
#3E7D1F
secondary
#8E48B0
accent
#44E3AF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A