#38771C#38771C
#38771C is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.8% C 0.139 H 138.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #38771C |
|---|---|
| RGB | rgb(56, 119, 28) |
| HSL | hsl(102, 62%, 29%) |
| HSV | hsv(102, 76%, 47%) |
| CMYK | cmyk(52.9%, 0%, 76.5%, 53.3%) |
| CIE-LAB | lab(44.40, -37.31, 41.29) |
| CIE-LCH | lch(44.40, 55.65, 132.10°) |
| OKLab | oklab(50.83% -0.1032 0.093) |
| OKLCH | oklch(50.83% 0.139 138) |
| XYZ | xyz(8.4370, 14.1176, 3.3788) |
| Luminance | 0.1412 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.92
Dark Grass Green
#388004
ΔE00 4.06
Green
#008000
ΔE00 4.92
Darkish Green
#287C37
ΔE00 5.38
Forestgreen (CSS)
#228B22
ΔE00 7.31
Avocado
#568203
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38771C #5B1C77
analogous
#66771C #38771C #1C772D
triadic
#38771C #1C3877 #771C38
tetradic
#38771C #1C6677 #5B1C77 #772D1C
square
#38771C #1C6677 #5B1C77 #772D1C
split-complementary
#38771C #2D1C77 #771C66
monochromatic
#0C1906 #214510 #38771C #4FA928 #6AD13C
Accessibility & contrast
On white
5.49
#38771C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#38771C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #38771C
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38771C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38771C | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C0A
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#337365
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #38771c; /* rgb */ color: rgb(56, 119, 28); /* oklch */ color: oklch(50.8% 0.139 138.0);
Tailwind
colors: {
custom: {
50: '#769f5f',
500: '#38771c',
950: '#000000',
},
}SCSS
$custom: #38771c; $custom-light: #769f5f; $custom-dark: #000000;
JSON
{
"hex": "#38771c",
"rgb": {
"r": 56,
"g": 119,
"b": 28
},
"hsl": {
"h": 101.538,
"s": 61.905,
"l": 28.824
},
"oklch": {
"l": 0.50829,
"c": 0.13888,
"h": 138
},
"luminance": 0.14118
}Semantic roles & 50–950 ramp
primary
#38771C
secondary
#8B44AB
accent
#43E5B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79