#38874C#38874C

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

Color values

HEX#38874C
RGBrgb(56, 135, 76)
HSLhsl(135, 41%, 37%)
HSVhsv(135, 59%, 53%)
CMYKcmyk(58.5%, 0%, 43.7%, 47.1%)
CIE-LABlab(50.32, -37.87, 24.62)
CIE-LCHlch(50.32, 45.17, 146.97°)
OKLaboklab(55.88% -0.1025 0.0608)
OKLCHoklch(55.88% 0.119 149.3)
XYZxyz(11.5986, 18.6895, 9.8323)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38874C #873873
analogous
#4B8738 #38874C #388774
triadic
#38874C #4C3887 #874C38
tetradic
#38874C #384B87 #873873 #877438
square
#38874C #384B87 #873873 #877438
split-complementary
#38874C #743887 #87384B
monochromatic
#14301B #265C34 #38874C #4AB264 #74C589

Accessibility & contrast

On white

4.43
#38874C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#38874C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38874C
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38874C#FFFFFF#000000##000000
##38874C1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C48
Deuteranopia (green-blind)
#7D7550
Tritanopia (blue-blind)
#258579
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #38874c;
/* rgb */ color: rgb(56, 135, 76);
/* oklch */ color: oklch(55.9% 0.119 149.3);
Tailwind
colors: {
  custom: {
    50: '#76ab7f',
    500: '#38874c',
    950: '#000000',
  },
}
SCSS
$custom: #38874c;
$custom-light: #76ab7f;
$custom-dark: #000000;
JSON
{
  "hex": "#38874c",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 76
  },
  "hsl": {
    "h": 135.19,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55879,
    "c": 0.11915,
    "h": 149.3
  },
  "luminance": 0.18691
}

Semantic roles & 50–950 ramp

primary
#38874C
secondary
#AE6D9E
accent
#57B2D1
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #38874C

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

Preview Lab → · Contrast checker → · Palette generator →

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