#38831E#38831E
#38831E is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.153 H 139.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #38831E |
|---|---|
| RGB | rgb(56, 131, 30) |
| HSL | hsl(105, 63%, 32%) |
| HSV | hsv(105, 77%, 51%) |
| CMYK | cmyk(57.3%, 0%, 77.1%, 48.6%) |
| CIE-LAB | lab(48.47, -41.99, 44.58) |
| CIE-LCH | lch(48.47, 61.24, 133.28°) |
| OKLab | oklab(54.19% -0.1156 0.1002) |
| OKLCH | oklch(54.19% 0.153 139.1) |
| XYZ | xyz(9.9811, 17.1663, 4.0155) |
| Luminance | 0.1717 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.31
Dark Grass Green
#388004
ΔE00 2.34
Forestgreen (CSS)
#228B22
ΔE00 3.39
Green
#008000
ΔE00 3.70
Emerald Green
#028F1E
ΔE00 5.01
Avocado
#568203
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38831E #691E83
analogous
#6B831E #38831E #1E8336
triadic
#38831E #1E3883 #831E38
tetradic
#38831E #1E6B83 #691E83 #83361E
square
#38831E #1E6B83 #691E83 #83361E
split-complementary
#38831E #361E83 #831E6B
monochromatic
#0D1F07 #235113 #38831E #4DB529 #6BD547
Accessibility & contrast
On white
4.74
#38831E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#38831E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #38831E
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38831E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38831E | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877709
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#307E70
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #38831e; /* rgb */ color: rgb(56, 131, 30); /* oklch */ color: oklch(54.2% 0.153 139.1);
Tailwind
colors: {
custom: {
50: '#77a861',
500: '#38831e',
950: '#000000',
},
}SCSS
$custom: #38831e; $custom-light: #77a861; $custom-dark: #000000;
JSON
{
"hex": "#38831e",
"rgb": {
"r": 56,
"g": 131,
"b": 30
},
"hsl": {
"h": 104.554,
"s": 62.733,
"l": 31.569
},
"oklch": {
"l": 0.54186,
"c": 0.15299,
"h": 139.1
},
"luminance": 0.17167
}Semantic roles & 50–950 ramp
primary
#38831E
secondary
#9947B6
accent
#42E6BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A