#38871D#38871D

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

Color values

HEX#38871D
RGBrgb(56, 135, 29)
HSLhsl(105, 65%, 32%)
HSVhsv(105, 79%, 53%)
CMYKcmyk(58.5%, 0%, 78.5%, 47.1%)
CIE-LABlab(49.81, -43.61, 46.25)
CIE-LCHlch(49.81, 63.57, 133.32°)
OKLaboklab(55.29% -0.1201 0.1035)
OKLCHoklch(55.29% 0.159 139.2)
XYZxyz(10.5162, 18.2565, 4.1318)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38871D #6C1D87
analogous
#6D871D #38871D #1D8737
triadic
#38871D #1D3887 #871D38
tetradic
#38871D #1D6D87 #6C1D87 #87371D
square
#38871D #1D6D87 #6C1D87 #87371D
split-complementary
#38871D #371D87 #871D6D
monochromatic
#0E2207 #235512 #38871D #4DB928 #6CD747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38871D#FFFFFF#000000##000000
##38871D1.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)
#8B7A04
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#2F8273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #38871d;
/* rgb */ color: rgb(56, 135, 29);
/* oklch */ color: oklch(55.3% 0.159 139.2);
Tailwind
colors: {
  custom: {
    50: '#78ab62',
    500: '#38871d',
    950: '#000000',
  },
}
SCSS
$custom: #38871d;
$custom-light: #78ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#38871d",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 104.717,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55287,
    "c": 0.15851,
    "h": 139.2
  },
  "luminance": 0.18257
}

Semantic roles & 50–950 ramp

primary
#38871D
secondary
#9C46B9
accent
#40E8BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #38871D

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

Preview Lab → · Contrast checker → · Palette generator →

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