#39821B#39821B
#39821B is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.153 H 138.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #39821B |
|---|---|
| RGB | rgb(57, 130, 27) |
| HSL | hsl(103, 66%, 31%) |
| HSV | hsv(103, 79%, 51%) |
| CMYK | cmyk(56.2%, 0%, 79.2%, 49%) |
| CIE-LAB | lab(48.15, -41.52, 45.35) |
| CIE-LCH | lch(48.15, 61.49, 132.47°) |
| OKLab | oklab(53.93% -0.1146 0.1013) |
| OKLCH | oklch(53.93% 0.153 138.5) |
| XYZ | xyz(9.8674, 16.9135, 3.7813) |
| Luminance | 0.1691 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.88
Tree Green
#2A7E19
ΔE00 2.21
Green
#008000
ΔE00 3.66
Forestgreen (CSS)
#228B22
ΔE00 3.83
Emerald Green
#028F1E
ΔE00 5.41
Avocado
#568203
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39821B #641B82
analogous
#6C821B #39821B #1B8230
triadic
#39821B #1B3982 #821B39
tetradic
#39821B #1B6C82 #641B82 #82301B
square
#39821B #1B6C82 #641B82 #82301B
split-complementary
#39821B #301B82 #821B6C
monochromatic
#0D1D06 #234F10 #39821B #4FB526 #6CD740
Accessibility & contrast
On white
4.79
#39821B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#39821B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #39821B
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39821B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39821B | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867602
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#327D6F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #39821b; /* rgb */ color: rgb(57, 130, 27); /* oklch */ color: oklch(53.9% 0.153 138.5);
Tailwind
colors: {
custom: {
50: '#78a760',
500: '#39821b',
950: '#000000',
},
}SCSS
$custom: #39821b; $custom-light: #78a760; $custom-dark: #000000;
JSON
{
"hex": "#39821b",
"rgb": {
"r": 57,
"g": 130,
"b": 27
},
"hsl": {
"h": 102.524,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.53928,
"c": 0.15298,
"h": 138.5
},
"luminance": 0.16914
}Semantic roles & 50–950 ramp
primary
#39821B
secondary
#9443B6
accent
#3FE9B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79