#38875A#38875A

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

Color values

HEX#38875A
RGBrgb(56, 135, 90)
HSLhsl(146, 41%, 37%)
HSVhsv(146, 59%, 53%)
CMYKcmyk(58.5%, 0%, 33.3%, 47.1%)
CIE-LABlab(50.58, -35.17, 17.12)
CIE-LCHlch(50.58, 39.11, 154.04°)
OKLaboklab(56.17% -0.0957 0.0432)
OKLCHoklch(56.17% 0.105 155.7)
XYZxyz(12.1393, 18.9058, 12.6803)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38875A #873865
analogous
#3D8738 #38875A #388782
triadic
#38875A #5A3887 #875A38
tetradic
#38875A #383D87 #873865 #878238
square
#38875A #383D87 #873865 #878238
split-complementary
#38875A #823887 #87383D
monochromatic
#143020 #265C3D #38875A #4AB277 #74C597

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38875A#FFFFFF#000000##000000
##38875A1.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)
#867D57
Deuteranopia (green-blind)
#7B755D
Tritanopia (blue-blind)
#1E867B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #38875a;
/* rgb */ color: rgb(56, 135, 90);
/* oklch */ color: oklch(56.2% 0.105 155.7);
Tailwind
colors: {
  custom: {
    50: '#76aa89',
    500: '#38875a',
    950: '#000000',
  },
}
SCSS
$custom: #38875a;
$custom-light: #76aa89;
$custom-dark: #000000;
JSON
{
  "hex": "#38875a",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 90
  },
  "hsl": {
    "h": 145.823,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.56172,
    "c": 0.10505,
    "h": 155.7
  },
  "luminance": 0.18907
}

Semantic roles & 50–950 ramp

primary
#38875A
secondary
#AE6D92
accent
#579CD1
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #38875A

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

Preview Lab → · Contrast checker → · Palette generator →

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