#38751E#38751E
#38751E is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.3% C 0.135 H 138.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #38751E |
|---|---|
| RGB | rgb(56, 117, 30) |
| HSL | hsl(102, 59%, 29%) |
| HSV | hsv(102, 74%, 46%) |
| CMYK | cmyk(52.1%, 0%, 74.4%, 54.1%) |
| CIE-LAB | lab(43.74, -36.32, 39.83) |
| CIE-LCH | lch(43.74, 53.90, 132.36°) |
| OKLab | oklab(50.29% -0.1003 0.0902) |
| OKLCH | oklch(50.29% 0.135 138) |
| XYZ | xyz(8.2262, 13.6565, 3.4305) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.59
Dark Grass Green
#388004
ΔE00 4.86
Darkish Green
#287C37
ΔE00 5.31
Green
#008000
ΔE00 5.54
Darkgreen
#006400
ΔE00 7.07
Darkolivegreen
#556B2F
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38751E #5B1E75
analogous
#64751E #38751E #1E7530
triadic
#38751E #1E3875 #751E38
tetradic
#38751E #1E6475 #5B1E75 #75301E
square
#38751E #1E6475 #5B1E75 #75301E
split-complementary
#38751E #301E75 #751E64
monochromatic
#0C1806 #214412 #38751E #4FA62A #6ACE40
Accessibility & contrast
On white
5.63
#38751E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#38751E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #38751E
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38751E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38751E | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796B0F
Deuteranopia (green-blind)
#716526
Tritanopia (blue-blind)
#337164
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #38751e; /* rgb */ color: rgb(56, 117, 30); /* oklch */ color: oklch(50.3% 0.135 138.0);
Tailwind
colors: {
custom: {
50: '#759d60',
500: '#38751e',
950: '#000000',
},
}SCSS
$custom: #38751e; $custom-light: #759d60; $custom-dark: #000000;
JSON
{
"hex": "#38751e",
"rgb": {
"r": 56,
"g": 117,
"b": 30
},
"hsl": {
"h": 102.069,
"s": 59.184,
"l": 28.824
},
"oklch": {
"l": 0.50287,
"c": 0.13494,
"h": 138
},
"luminance": 0.13657
}Semantic roles & 50–950 ramp
primary
#38751E
secondary
#8B46A9
accent
#45E2B3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79