#39831F#39831F
#39831F is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.152 H 139.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #39831F |
|---|---|
| RGB | rgb(57, 131, 31) |
| HSL | hsl(104, 62%, 32%) |
| HSV | hsv(104, 76%, 51%) |
| CMYK | cmyk(56.5%, 0%, 76.3%, 48.6%) |
| CIE-LAB | lab(48.51, -41.63, 44.27) |
| CIE-LCH | lch(48.51, 60.76, 133.24°) |
| OKLab | oklab(54.23% -0.1147 0.0996) |
| OKLCH | oklch(54.23% 0.152 139) |
| XYZ | xyz(10.0506, 17.2006, 4.0865) |
| Luminance | 0.1720 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.38
Dark Grass Green
#388004
ΔE00 2.41
Forestgreen (CSS)
#228B22
ΔE00 3.43
Green
#008000
ΔE00 3.83
Emerald Green
#028F1E
ΔE00 5.06
Avocado
#568203
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39831F #691F83
analogous
#6B831F #39831F #1F8337
triadic
#39831F #1F3983 #831F39
tetradic
#39831F #1F6B83 #691F83 #83371F
square
#39831F #1F6B83 #691F83 #83371F
split-complementary
#39831F #371F83 #831F6B
monochromatic
#0E2008 #235213 #39831F #4FB42B #6DD449
Accessibility & contrast
On white
4.73
#39831F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#39831F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #39831F
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39831F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39831F | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#327E70
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #39831f; /* rgb */ color: rgb(57, 131, 31); /* oklch */ color: oklch(54.2% 0.152 139.0);
Tailwind
colors: {
custom: {
50: '#78a862',
500: '#39831f',
950: '#000000',
},
}SCSS
$custom: #39831f; $custom-light: #78a862; $custom-dark: #000000;
JSON
{
"hex": "#39831f",
"rgb": {
"r": 57,
"g": 131,
"b": 31
},
"hsl": {
"h": 104.4,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.54233,
"c": 0.15191,
"h": 139
},
"luminance": 0.17201
}Semantic roles & 50–950 ramp
primary
#39831F
secondary
#9948B6
accent
#43E5BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A