#38875C#38875C

#38875C is a mid, moderate green. Relative luminance 0.189; OKLCH L 56.2% C 0.103 H 156.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#38875C
RGBrgb(56, 135, 92)
HSLhsl(147, 41%, 37%)
HSVhsv(147, 59%, 53%)
CMYKcmyk(58.5%, 0%, 31.9%, 47.1%)
CIE-LABlab(50.62, -34.75, 16.04)
CIE-LCHlch(50.62, 38.27, 155.23°)
OKLaboklab(56.22% -0.0948 0.0406)
OKLCHoklch(56.22% 0.103 156.8)
XYZxyz(12.2256, 18.9403, 13.1347)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38875C #873863
analogous
#3B8738 #38875C #388784
triadic
#38875C #5C3887 #875C38
tetradic
#38875C #383B87 #873863 #878438
square
#38875C #383B87 #873863 #878438
split-complementary
#38875C #843887 #87383B
monochromatic
#143021 #265C3F #38875C #4AB279 #74C599

Accessibility & contrast

On white

4.39
#38875C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#38875C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38875C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38875C#FFFFFF#000000##000000
##38875C1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D59
Deuteranopia (green-blind)
#7B755F
Tritanopia (blue-blind)
#1C867C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #38875c;
/* rgb */ color: rgb(56, 135, 92);
/* oklch */ color: oklch(56.2% 0.103 156.8);
Tailwind
colors: {
  custom: {
    50: '#76aa8a',
    500: '#38875c',
    950: '#000000',
  },
}
SCSS
$custom: #38875c;
$custom-light: #76aa8a;
$custom-dark: #000000;
JSON
{
  "hex": "#38875c",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 92
  },
  "hsl": {
    "h": 147.342,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.10309,
    "h": 156.8
  },
  "luminance": 0.18941
}

Semantic roles & 50–950 ramp

primary
#38875C
secondary
#AE6D90
accent
#5799D1
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #38875C

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

Preview Lab → · Contrast checker → · Palette generator →

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