#38875B#38875B

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

Color values

HEX#38875B
RGBrgb(56, 135, 91)
HSLhsl(147, 41%, 37%)
HSVhsv(147, 59%, 53%)
CMYKcmyk(58.5%, 0%, 32.6%, 47.1%)
CIE-LABlab(50.60, -34.96, 16.58)
CIE-LCHlch(50.60, 38.69, 154.63°)
OKLaboklab(56.19% -0.0952 0.0419)
OKLCHoklch(56.19% 0.104 156.2)
XYZxyz(12.1822, 18.9229, 12.9060)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38875B #873864
analogous
#3D8738 #38875B #388782
triadic
#38875B #5B3887 #875B38
tetradic
#38875B #383D87 #873864 #878238
square
#38875B #383D87 #873864 #878238
split-complementary
#38875B #823887 #87383D
monochromatic
#143021 #265C3E #38875B #4AB278 #74C598

Accessibility & contrast

On white

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

On black

4.78
#38875B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38875B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38875B#FFFFFF#000000##000000
##38875B1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D58
Deuteranopia (green-blind)
#7B755E
Tritanopia (blue-blind)
#1D867B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #38875b;
/* rgb */ color: rgb(56, 135, 91);
/* oklch */ color: oklch(56.2% 0.104 156.2);
Tailwind
colors: {
  custom: {
    50: '#76aa89',
    500: '#38875b',
    950: '#000000',
  },
}
SCSS
$custom: #38875b;
$custom-light: #76aa89;
$custom-dark: #000000;
JSON
{
  "hex": "#38875b",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 91
  },
  "hsl": {
    "h": 146.582,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.56195,
    "c": 0.10407,
    "h": 156.2
  },
  "luminance": 0.18924
}

Semantic roles & 50–950 ramp

primary
#38875B
secondary
#AE6D91
accent
#579BD1
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #38875B

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

Preview Lab → · Contrast checker → · Palette generator →

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