#38871C#38871C

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

Color values

HEX#38871C
RGBrgb(56, 135, 28)
HSLhsl(104, 66%, 32%)
HSVhsv(104, 79%, 53%)
CMYKcmyk(58.5%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.80, -43.68, 46.59)
CIE-LCHlch(49.80, 63.86, 133.15°)
OKLaboklab(55.28% -0.1203 0.1041)
OKLCHoklch(55.28% 0.159 139.1)
XYZxyz(10.5040, 18.2516, 4.0678)
Luminance0.1825 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38871C #6B1C87
analogous
#6E871C #38871C #1C8736
triadic
#38871C #1C3887 #871C38
tetradic
#38871C #1C6E87 #6B1C87 #87361C
square
#38871C #1C6E87 #6B1C87 #87361C
split-complementary
#38871C #361C87 #871C6E
monochromatic
#0E2207 #235411 #38871C #4DBA27 #6CD845

Accessibility & contrast

On white

4.52
#38871C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##38871C#FFFFFF#000000##000000
##38871C1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38871c;
/* rgb */ color: rgb(56, 135, 28);
/* oklch */ color: oklch(55.3% 0.159 139.1);
Tailwind
colors: {
  custom: {
    50: '#78ab61',
    500: '#38871c',
    950: '#000000',
  },
}
SCSS
$custom: #38871c;
$custom-light: #78ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#38871c",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 104.299,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55281,
    "c": 0.15906,
    "h": 139.1
  },
  "luminance": 0.18253
}

Semantic roles & 50–950 ramp

primary
#38871C
secondary
#9B45BA
accent
#3FE9BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #38871C

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

Preview Lab → · Contrast checker → · Palette generator →

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