#38875D#38875D

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

Color values

HEX#38875D
RGBrgb(56, 135, 93)
HSLhsl(148, 41%, 37%)
HSVhsv(148, 59%, 53%)
CMYKcmyk(58.5%, 0%, 31.1%, 47.1%)
CIE-LABlab(50.64, -34.54, 15.49)
CIE-LCHlch(50.64, 37.85, 155.84°)
OKLaboklab(56.24% -0.0943 0.0393)
OKLCHoklch(56.24% 0.102 157.4)
XYZxyz(12.2696, 18.9579, 13.3664)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38875D #873862
analogous
#3B8738 #38875D #388784
triadic
#38875D #5D3887 #875D38
tetradic
#38875D #383B87 #873862 #878438
square
#38875D #383B87 #873862 #878438
split-complementary
#38875D #843887 #87383B
monochromatic
#143021 #265C3F #38875D #4AB27B #74C59A

Accessibility & contrast

On white

4.38
#38875D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##38875D#FFFFFF#000000##000000
##38875D1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D5A
Deuteranopia (green-blind)
#7B7560
Tritanopia (blue-blind)
#1C867C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #38875d;
/* rgb */ color: rgb(56, 135, 93);
/* oklch */ color: oklch(56.2% 0.102 157.4);
Tailwind
colors: {
  custom: {
    50: '#76aa8b',
    500: '#38875d',
    950: '#000000',
  },
}
SCSS
$custom: #38875d;
$custom-light: #76aa8b;
$custom-dark: #000000;
JSON
{
  "hex": "#38875d",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 93
  },
  "hsl": {
    "h": 148.101,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.56242,
    "c": 0.10212,
    "h": 157.4
  },
  "luminance": 0.18959
}

Semantic roles & 50–950 ramp

primary
#38875D
secondary
#AE6D8F
accent
#5798D1
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #38875D

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

Preview Lab → · Contrast checker → · Palette generator →

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