#38872B#38872B

#38872B is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.149 H 141.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#38872B
RGBrgb(56, 135, 43)
HSLhsl(112, 52%, 35%)
HSVhsv(112, 68%, 53%)
CMYKcmyk(58.5%, 0%, 68.1%, 47.1%)
CIE-LABlab(49.91, -42.43, 40.80)
CIE-LCHlch(49.91, 58.86, 136.13°)
OKLaboklab(55.41% -0.116 0.094)
OKLCHoklch(55.41% 0.149 141)
XYZxyz(10.7304, 18.3422, 5.2600)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38872B #7A2B87
analogous
#66872B #38872B #2B874C
triadic
#38872B #2B3887 #872B38
tetradic
#38872B #2B6687 #7A2B87 #874C2B
square
#38872B #2B6687 #7A2B87 #874C2B
split-complementary
#38872B #4C2B87 #872B66
monochromatic
#112A0D #25591C #38872B #4BB53A #6FCC60

Accessibility & contrast

On white

4.50
#38872B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#38872B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38872B
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38872B#FFFFFF#000000##000000
##38872B1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1F
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#2D8374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #38872b;
/* rgb */ color: rgb(56, 135, 43);
/* oklch */ color: oklch(55.4% 0.149 141.0);
Tailwind
colors: {
  custom: {
    50: '#78ab69',
    500: '#38872b',
    950: '#000000',
  },
}
SCSS
$custom: #38872b;
$custom-light: #78ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#38872b",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 111.522,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.14932,
    "h": 141
  },
  "luminance": 0.18343
}

Semantic roles & 50–950 ramp

primary
#38872B
secondary
#A65BB2
accent
#4DDBC7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #38872B

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

Preview Lab → · Contrast checker → · Palette generator →

#38872B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva