#38751F#38751F
#38751F is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.3% C 0.134 H 138.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #38751F |
|---|---|
| RGB | rgb(56, 117, 31) |
| HSL | hsl(103, 58%, 29%) |
| HSV | hsv(103, 74%, 46%) |
| CMYK | cmyk(52.1%, 0%, 73.5%, 54.1%) |
| CIE-LAB | lab(43.74, -36.23, 39.42) |
| CIE-LCH | lch(43.74, 53.54, 132.59°) |
| OKLab | oklab(50.3% -0.1 0.0895) |
| OKLCH | oklch(50.3% 0.134 138.2) |
| XYZ | xyz(8.2392, 13.6617, 3.4989) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.62
Dark Grass Green
#388004
ΔE00 4.95
Darkish Green
#287C37
ΔE00 5.19
Green
#008000
ΔE00 5.59
Darkgreen
#006400
ΔE00 7.08
Darkolivegreen
#556B2F
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38751F #5C1F75
analogous
#63751F #38751F #1F7531
triadic
#38751F #1F3875 #751F38
tetradic
#38751F #1F6375 #5C1F75 #75311F
square
#38751F #1F6375 #5C1F75 #75311F
split-complementary
#38751F #311F75 #751F63
monochromatic
#0C1806 #214512 #38751F #4FA52C #6ACD42
Accessibility & contrast
On white
5.63
#38751F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#38751F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #38751F
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38751F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38751F | 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)
#796B11
Deuteranopia (green-blind)
#716527
Tritanopia (blue-blind)
#337164
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #38751f; /* rgb */ color: rgb(56, 117, 31); /* oklch */ color: oklch(50.3% 0.134 138.2);
Tailwind
colors: {
custom: {
50: '#759d60',
500: '#38751f',
950: '#000000',
},
}SCSS
$custom: #38751f; $custom-light: #759d60; $custom-dark: #000000;
JSON
{
"hex": "#38751f",
"rgb": {
"r": 56,
"g": 117,
"b": 31
},
"hsl": {
"h": 102.558,
"s": 58.108,
"l": 29.02
},
"oklch": {
"l": 0.50295,
"c": 0.13425,
"h": 138.2
},
"luminance": 0.13662
}Semantic roles & 50–950 ramp
primary
#38751F
secondary
#8C47A9
accent
#46E1B4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79