#38771E#38771E
#38771E is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.8% C 0.138 H 138.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #38771E |
|---|---|
| RGB | rgb(56, 119, 30) |
| HSL | hsl(102, 60%, 29%) |
| HSV | hsv(102, 75%, 47%) |
| CMYK | cmyk(52.9%, 0%, 74.8%, 53.3%) |
| CIE-LAB | lab(44.42, -37.15, 40.52) |
| CIE-LCH | lch(44.42, 54.97, 132.52°) |
| OKLab | oklab(50.85% -0.1026 0.0917) |
| OKLCH | oklch(50.85% 0.138 138.2) |
| XYZ | xyz(8.4618, 14.1275, 3.5090) |
| Luminance | 0.1413 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.95
Dark Grass Green
#388004
ΔE00 4.23
Green
#008000
ΔE00 5.00
Darkish Green
#287C37
ΔE00 5.14
Forestgreen (CSS)
#228B22
ΔE00 7.30
Avocado
#568203
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38771E #5D1E77
analogous
#65771E #38771E #1E7731
triadic
#38771E #1E3877 #771E38
tetradic
#38771E #1E6577 #5D1E77 #77311E
square
#38771E #1E6577 #5D1E77 #77311E
split-complementary
#38771E #311E77 #771E65
monochromatic
#0C1806 #214612 #38771E #4FA82A #6ACF40
Accessibility & contrast
On white
5.49
#38771E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#38771E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #38771E
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38771E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38771E | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C0F
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#337366
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #38771e; /* rgb */ color: rgb(56, 119, 30); /* oklch */ color: oklch(50.8% 0.138 138.2);
Tailwind
colors: {
custom: {
50: '#759f60',
500: '#38771e',
950: '#000000',
},
}SCSS
$custom: #38771e; $custom-light: #759f60; $custom-dark: #000000;
JSON
{
"hex": "#38771e",
"rgb": {
"r": 56,
"g": 119,
"b": 30
},
"hsl": {
"h": 102.472,
"s": 59.732,
"l": 29.216
},
"oklch": {
"l": 0.50845,
"c": 0.13758,
"h": 138.2
},
"luminance": 0.14128
}Semantic roles & 50–950 ramp
primary
#38771E
secondary
#8D46AB
accent
#45E3B5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79