#38721F#38721F
#38721F is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.5% C 0.130 H 137.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #38721F |
|---|---|
| RGB | rgb(56, 114, 31) |
| HSL | hsl(102, 57%, 28%) |
| HSV | hsv(102, 73%, 45%) |
| CMYK | cmyk(50.9%, 0%, 72.8%, 55.3%) |
| CIE-LAB | lab(42.72, -34.96, 38.37) |
| CIE-LCH | lch(42.72, 51.90, 132.34°) |
| OKLab | oklab(49.46% -0.0966 0.0873) |
| OKLCH | oklch(49.46% 0.13 137.9) |
| XYZ | xyz(7.8953, 12.9738, 3.3842) |
| Luminance | 0.1297 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.62
Darkish Green
#287C37
ΔE00 5.62
Dark Grass Green
#388004
ΔE00 5.91
Darkgreen
#006400
ΔE00 6.40
Green
#008000
ΔE00 6.46
Darkolivegreen
#556B2F
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38721F #591F72
analogous
#61721F #38721F #1F722F
triadic
#38721F #1F3872 #721F38
tetradic
#38721F #1F6172 #591F72 #722F1F
square
#38721F #1F6172 #591F72 #722F1F
split-complementary
#38721F #2F1F72 #721F61
monochromatic
#0C1807 #204212 #38721F #50A22C #6ACB40
Accessibility & contrast
On white
5.84
#38721F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#38721F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #38721F
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38721F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38721F | 1.00 | 5.84 | 3.59 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#346E61
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #38721f; /* rgb */ color: rgb(56, 114, 31); /* oklch */ color: oklch(49.5% 0.130 137.9);
Tailwind
colors: {
custom: {
50: '#759b60',
500: '#38721f',
950: '#000000',
},
}SCSS
$custom: #38721f; $custom-light: #759b60; $custom-dark: #000000;
JSON
{
"hex": "#38721f",
"rgb": {
"r": 56,
"g": 114,
"b": 31
},
"hsl": {
"h": 101.928,
"s": 57.241,
"l": 28.431
},
"oklch": {
"l": 0.49457,
"c": 0.1302,
"h": 137.9
},
"luminance": 0.12974
}Semantic roles & 50–950 ramp
primary
#38721F
secondary
#8947A6
accent
#47E0B2
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79