#3E791F#3E791F
#3E791F is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.7% C 0.136 H 137.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #3E791F |
|---|---|
| RGB | rgb(62, 121, 31) |
| HSL | hsl(99, 59%, 30%) |
| HSV | hsv(99, 74%, 47%) |
| CMYK | cmyk(48.8%, 0%, 74.4%, 52.5%) |
| CIE-LAB | lab(45.36, -35.97, 41.16) |
| CIE-LCH | lch(45.36, 54.66, 131.15°) |
| OKLab | oklab(51.69% -0.0997 0.0931) |
| OKLCH | oklch(51.69% 0.136 137) |
| XYZ | xyz(9.0710, 14.7972, 3.6742) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.94
Dark Grass Green
#388004
ΔE00 3.60
Green
#008000
ΔE00 5.12
Darkish Green
#287C37
ΔE00 5.54
Avocado
#568203
ΔE00 6.56
Forestgreen (CSS)
#228B22
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E791F #5A1F79
analogous
#6B791F #3E791F #1F792D
triadic
#3E791F #1F3E79 #791F3E
tetradic
#3E791F #1F6B79 #5A1F79 #792D1F
square
#3E791F #1F6B79 #5A1F79 #792D1F
split-complementary
#3E791F #2D1F79 #791F6B
monochromatic
#0C1806 #254813 #3E791F #57AA2B #74CF43
Accessibility & contrast
On white
5.30
#3E791F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#3E791F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3E791F
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E791F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E791F | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E10
Deuteranopia (green-blind)
#756A28
Tritanopia (blue-blind)
#3B7467
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #3e791f; /* rgb */ color: rgb(62, 121, 31); /* oklch */ color: oklch(51.7% 0.136 137.0);
Tailwind
colors: {
custom: {
50: '#79a061',
500: '#3e791f',
950: '#000000',
},
}SCSS
$custom: #3e791f; $custom-light: #79a061; $custom-dark: #000000;
JSON
{
"hex": "#3e791f",
"rgb": {
"r": 62,
"g": 121,
"b": 31
},
"hsl": {
"h": 99.333,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.51692,
"c": 0.13641,
"h": 137
},
"luminance": 0.14798
}Semantic roles & 50–950 ramp
primary
#3E791F
secondary
#8A47AC
accent
#45E2AC
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0F05
muted
#7C7E79