#38874F#38874F

#38874F is a mid, moderate green. Relative luminance 0.187; OKLCH L 55.9% C 0.116 H 150.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#38874F
RGBrgb(56, 135, 79)
HSLhsl(137, 41%, 37%)
HSVhsv(137, 59%, 53%)
CMYKcmyk(58.5%, 0%, 41.5%, 47.1%)
CIE-LABlab(50.37, -37.33, 23.03)
CIE-LCHlch(50.37, 43.86, 148.33°)
OKLaboklab(55.94% -0.1011 0.0571)
OKLCHoklch(55.94% 0.116 150.5)
XYZxyz(11.7053, 18.7321, 10.3944)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38874F #873870
analogous
#498738 #38874F #388776
triadic
#38874F #4F3887 #874F38
tetradic
#38874F #384987 #873870 #877638
square
#38874F #384987 #873870 #877638
split-complementary
#38874F #763887 #873849
monochromatic
#14301C #265C36 #38874F #4AB268 #74C58C

Accessibility & contrast

On white

4.42
#38874F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#38874F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38874F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38874F#FFFFFF#000000##000000
##38874F1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C4B
Deuteranopia (green-blind)
#7D7553
Tritanopia (blue-blind)
#238579
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #38874f;
/* rgb */ color: rgb(56, 135, 79);
/* oklch */ color: oklch(55.9% 0.116 150.5);
Tailwind
colors: {
  custom: {
    50: '#76ab81',
    500: '#38874f',
    950: '#000000',
  },
}
SCSS
$custom: #38874f;
$custom-light: #76ab81;
$custom-dark: #000000;
JSON
{
  "hex": "#38874f",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 79
  },
  "hsl": {
    "h": 137.468,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.1161,
    "h": 150.5
  },
  "luminance": 0.18733
}

Semantic roles & 50–950 ramp

primary
#38874F
secondary
#AE6D9B
accent
#57AED1
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #38874F

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

Preview Lab → · Contrast checker → · Palette generator →

#38874F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva