#38821B#38821B
#38821B is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.153 H 138.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #38821B |
|---|---|
| RGB | rgb(56, 130, 27) |
| HSL | hsl(103, 66%, 31%) |
| HSV | hsv(103, 79%, 51%) |
| CMYK | cmyk(56.9%, 0%, 79.2%, 49%) |
| CIE-LAB | lab(48.11, -41.81, 45.30) |
| CIE-LCH | lch(48.11, 61.65, 132.70°) |
| OKLab | oklab(53.89% -0.1153 0.1012) |
| OKLCH | oklch(53.89% 0.153 138.7) |
| XYZ | xyz(9.8110, 16.8843, 3.7787) |
| Luminance | 0.1689 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.92
Tree Green
#2A7E19
ΔE00 2.12
Green
#008000
ΔE00 3.55
Forestgreen (CSS)
#228B22
ΔE00 3.76
Emerald Green
#028F1E
ΔE00 5.35
Avocado
#568203
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38821B #651B82
analogous
#6B821B #38821B #1B8231
triadic
#38821B #1B3882 #821B38
tetradic
#38821B #1B6B82 #651B82 #82311B
square
#38821B #1B6B82 #651B82 #82311B
split-complementary
#38821B #311B82 #821B6B
monochromatic
#0C1D06 #224F10 #38821B #4EB526 #6BD740
Accessibility & contrast
On white
4.80
#38821B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#38821B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #38821B
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38821B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38821B | 1.00 | 4.80 | 4.38 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867602
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#317D6F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #38821b; /* rgb */ color: rgb(56, 130, 27); /* oklch */ color: oklch(53.9% 0.153 138.7);
Tailwind
colors: {
custom: {
50: '#77a760',
500: '#38821b',
950: '#000000',
},
}SCSS
$custom: #38821b; $custom-light: #77a760; $custom-dark: #000000;
JSON
{
"hex": "#38821b",
"rgb": {
"r": 56,
"g": 130,
"b": 27
},
"hsl": {
"h": 103.107,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.53887,
"c": 0.15345,
"h": 138.7
},
"luminance": 0.16885
}Semantic roles & 50–950 ramp
primary
#38821B
secondary
#9543B6
accent
#3FE9B9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79