#38781E#38781E
#38781E is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.139 H 138.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #38781E |
|---|---|
| RGB | rgb(56, 120, 30) |
| HSL | hsl(103, 60%, 29%) |
| HSV | hsv(103, 75%, 47%) |
| CMYK | cmyk(53.3%, 0%, 75%, 52.9%) |
| CIE-LAB | lab(44.75, -37.57, 40.86) |
| CIE-LCH | lch(44.75, 55.51, 132.59°) |
| OKLab | oklab(51.13% -0.1037 0.0924) |
| OKLCH | oklch(51.13% 0.139 138.3) |
| XYZ | xyz(8.5814, 14.3668, 3.5489) |
| Luminance | 0.1437 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.64
Dark Grass Green
#388004
ΔE00 3.93
Green
#008000
ΔE00 4.76
Darkish Green
#287C37
ΔE00 5.08
Forestgreen (CSS)
#228B22
ΔE00 6.96
Avocado
#568203
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38781E #5E1E78
analogous
#65781E #38781E #1E7831
triadic
#38781E #1E3878 #781E38
tetradic
#38781E #1E6578 #5E1E78 #78311E
square
#38781E #1E6578 #5E1E78 #78311E
split-complementary
#38781E #311E78 #781E65
monochromatic
#0B1806 #214712 #38781E #4FA92A #6ACF41
Accessibility & contrast
On white
5.42
#38781E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#38781E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #38781E
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38781E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38781E | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D0E
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#337466
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #38781e; /* rgb */ color: rgb(56, 120, 30); /* oklch */ color: oklch(51.1% 0.139 138.3);
Tailwind
colors: {
custom: {
50: '#769f60',
500: '#38781e',
950: '#000000',
},
}SCSS
$custom: #38781e; $custom-light: #769f60; $custom-dark: #000000;
JSON
{
"hex": "#38781e",
"rgb": {
"r": 56,
"g": 120,
"b": 30
},
"hsl": {
"h": 102.667,
"s": 60,
"l": 29.412
},
"oklch": {
"l": 0.51125,
"c": 0.1389,
"h": 138.3
},
"luminance": 0.14367
}Semantic roles & 50–950 ramp
primary
#38781E
secondary
#8E46AC
accent
#45E3B5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79