#38871E#38871E

#38871E is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.158 H 139.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#38871E
RGBrgb(56, 135, 30)
HSLhsl(105, 64%, 32%)
HSVhsv(105, 78%, 53%)
CMYKcmyk(58.5%, 0%, 77.8%, 47.1%)
CIE-LABlab(49.81, -43.54, 45.90)
CIE-LCHlch(49.81, 63.27, 133.49°)
OKLaboklab(55.29% -0.1198 0.1029)
OKLCHoklch(55.29% 0.158 139.3)
XYZxyz(10.5288, 18.2615, 4.1980)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38871E #6D1E87
analogous
#6C871E #38871E #1E8739
triadic
#38871E #1E3887 #871E38
tetradic
#38871E #1E6C87 #6D1E87 #87391E
square
#38871E #1E6C87 #6D1E87 #87391E
split-complementary
#38871E #391E87 #871E6C
monochromatic
#0E2308 #235513 #38871E #4DB929 #6CD749

Accessibility & contrast

On white

4.51
#38871E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#38871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38871E
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38871E#FFFFFF#000000##000000
##38871E1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A06
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#2F8273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #38871e;
/* rgb */ color: rgb(56, 135, 30);
/* oklch */ color: oklch(55.3% 0.158 139.3);
Tailwind
colors: {
  custom: {
    50: '#78ab62',
    500: '#38871e',
    950: '#000000',
  },
}
SCSS
$custom: #38871e;
$custom-light: #78ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#38871e",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 105.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55294,
    "c": 0.15795,
    "h": 139.3
  },
  "luminance": 0.18262
}

Semantic roles & 50–950 ramp

primary
#38871E
secondary
#9D48B9
accent
#41E7BE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #38871E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#38871E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva