#38874A#38874A

#38874A is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.8% C 0.121 H 148.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#38874A
RGBrgb(56, 135, 74)
HSLhsl(134, 41%, 37%)
HSVhsv(134, 59%, 53%)
CMYKcmyk(58.5%, 0%, 45.2%, 47.1%)
CIE-LABlab(50.29, -38.22, 25.67)
CIE-LCHlch(50.29, 46.04, 146.11°)
OKLaboklab(55.84% -0.1034 0.0631)
OKLCHoklch(55.84% 0.121 148.6)
XYZxyz(11.5301, 18.6621, 9.4718)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38874A #873875
analogous
#4E8738 #38874A #388772
triadic
#38874A #4A3887 #874A38
tetradic
#38874A #384E87 #873875 #877238
square
#38874A #384E87 #873875 #877238
split-complementary
#38874A #723887 #87384E
monochromatic
#14301B #265C32 #38874A #4AB262 #74C587

Accessibility & contrast

On white

4.44
#38874A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#38874A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38874A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38874A#FFFFFF#000000##000000
##38874A1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C45
Deuteranopia (green-blind)
#7E754E
Tritanopia (blue-blind)
#258478
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #38874a;
/* rgb */ color: rgb(56, 135, 74);
/* oklch */ color: oklch(55.8% 0.121 148.6);
Tailwind
colors: {
  custom: {
    50: '#76ab7d',
    500: '#38874a',
    950: '#000000',
  },
}
SCSS
$custom: #38874a;
$custom-light: #76ab7d;
$custom-dark: #000000;
JSON
{
  "hex": "#38874a",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 74
  },
  "hsl": {
    "h": 133.671,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55842,
    "c": 0.12117,
    "h": 148.6
  },
  "luminance": 0.18663
}

Semantic roles & 50–950 ramp

primary
#38874A
secondary
#AE6D9F
accent
#57B5D1
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #38874A

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

Preview Lab → · Contrast checker → · Palette generator →

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