#38871A#38871A

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

Color values

HEX#38871A
RGBrgb(56, 135, 26)
HSLhsl(103, 68%, 32%)
HSVhsv(103, 81%, 53%)
CMYKcmyk(58.5%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.79, -43.81, 47.24)
CIE-LCHlch(49.79, 64.43, 132.84°)
OKLaboklab(55.27% -0.1208 0.1051)
OKLCHoklch(55.27% 0.16 139)
XYZxyz(10.4809, 18.2424, 3.9459)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38871A #691A87
analogous
#6F871A #38871A #1A8733
triadic
#38871A #1A3887 #871A38
tetradic
#38871A #1A6F87 #691A87 #87331A
square
#38871A #1A6F87 #691A87 #87331A
split-complementary
#38871A #331A87 #871A6F
monochromatic
#0D2006 #235410 #38871A #4DBA24 #6BDA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38871A#FFFFFF#000000##000000
##38871A1.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)
#8B7A00
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#308273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #38871a;
/* rgb */ color: rgb(56, 135, 26);
/* oklch */ color: oklch(55.3% 0.160 139.0);
Tailwind
colors: {
  custom: {
    50: '#78ab60',
    500: '#38871a',
    950: '#000000',
  },
}
SCSS
$custom: #38871a;
$custom-light: #78ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#38871a",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 103.486,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55268,
    "c": 0.16011,
    "h": 139
  },
  "luminance": 0.18243
}

Semantic roles & 50–950 ramp

primary
#38871A
secondary
#9942BA
accent
#3DEBBB
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #38871A

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

Preview Lab → · Contrast checker → · Palette generator →

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