#39841F#39841F
#39841F is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.153 H 139.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #39841F |
|---|---|
| RGB | rgb(57, 132, 31) |
| HSL | hsl(105, 62%, 32%) |
| HSV | hsv(105, 77%, 52%) |
| CMYK | cmyk(56.8%, 0%, 76.5%, 48.2%) |
| CIE-LAB | lab(48.85, -42.02, 44.60) |
| CIE-LCH | lch(48.85, 61.28, 133.30°) |
| OKLab | oklab(54.51% -0.1157 0.1003) |
| OKLCH | oklch(54.51% 0.153 139.1) |
| XYZ | xyz(10.1855, 17.4705, 4.1315) |
| Luminance | 0.1747 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.54
Tree Green
#2A7E19
ΔE00 2.66
Forestgreen (CSS)
#228B22
ΔE00 3.15
Green
#008000
ΔE00 3.93
Emerald Green
#028F1E
ΔE00 4.78
Avocado
#568203
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39841F #6A1F84
analogous
#6C841F #39841F #1F8437
triadic
#39841F #1F3984 #841F39
tetradic
#39841F #1F6C84 #6A1F84 #84371F
square
#39841F #1F6C84 #6A1F84 #84371F
split-complementary
#39841F #371F84 #841F6C
monochromatic
#0E2108 #245213 #39841F #4EB62B #6DD449
Accessibility & contrast
On white
4.67
#39841F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#39841F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #39841F
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39841F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39841F | 1.00 | 4.67 | 4.49 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#317F71
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #39841f; /* rgb */ color: rgb(57, 132, 31); /* oklch */ color: oklch(54.5% 0.153 139.1);
Tailwind
colors: {
custom: {
50: '#78a862',
500: '#39841f',
950: '#000000',
},
}SCSS
$custom: #39841f; $custom-light: #78a862; $custom-dark: #000000;
JSON
{
"hex": "#39841f",
"rgb": {
"r": 57,
"g": 132,
"b": 31
},
"hsl": {
"h": 104.554,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.5451,
"c": 0.15317,
"h": 139.1
},
"luminance": 0.17471
}Semantic roles & 50–950 ramp
primary
#39841F
secondary
#9A48B7
accent
#43E5BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A