#38875F#38875F

#38875F is a mid, moderate green. Relative luminance 0.190; OKLCH L 56.3% C 0.100 H 158.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#38875F
RGBrgb(56, 135, 95)
HSLhsl(150, 41%, 37%)
HSVhsv(150, 59%, 53%)
CMYKcmyk(58.5%, 0%, 29.6%, 47.1%)
CIE-LABlab(50.68, -34.10, 14.41)
CIE-LCHlch(50.68, 37.02, 157.10°)
OKLaboklab(56.29% -0.0933 0.0366)
OKLCHoklch(56.29% 0.1 158.6)
XYZxyz(12.3593, 18.9938, 13.8391)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38875F #873860
analogous
#398738 #38875F #388786
triadic
#38875F #5F3887 #875F38
tetradic
#38875F #383987 #873860 #878638
square
#38875F #383987 #873860 #878638
split-complementary
#38875F #863887 #873839
monochromatic
#143022 #265C41 #38875F #4AB27D #74C59C

Accessibility & contrast

On white

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

On black

4.80
#38875F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38875F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38875F#FFFFFF#000000##000000
##38875F1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D5D
Deuteranopia (green-blind)
#7B7561
Tritanopia (blue-blind)
#1A867C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #38875f;
/* rgb */ color: rgb(56, 135, 95);
/* oklch */ color: oklch(56.3% 0.100 158.6);
Tailwind
colors: {
  custom: {
    50: '#76aa8c',
    500: '#38875f',
    950: '#000000',
  },
}
SCSS
$custom: #38875f;
$custom-light: #76aa8c;
$custom-dark: #000000;
JSON
{
  "hex": "#38875f",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 95
  },
  "hsl": {
    "h": 149.62,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5629,
    "c": 0.1002,
    "h": 158.6
  },
  "luminance": 0.18995
}

Semantic roles & 50–950 ramp

primary
#38875F
secondary
#AE6D8E
accent
#5795D1
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #38875F

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

Preview Lab → · Contrast checker → · Palette generator →

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