#38874B#38874B

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

Color values

HEX#38874B
RGBrgb(56, 135, 75)
HSLhsl(134, 41%, 37%)
HSVhsv(134, 59%, 53%)
CMYKcmyk(58.5%, 0%, 44.4%, 47.1%)
CIE-LABlab(50.31, -38.04, 25.15)
CIE-LCHlch(50.31, 45.60, 146.53°)
OKLaboklab(55.86% -0.103 0.062)
OKLCHoklch(55.86% 0.12 149)
XYZxyz(11.5641, 18.6757, 9.6506)
Luminance0.1868 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38874B #873874
analogous
#4D8738 #38874B #388772
triadic
#38874B #4B3887 #874B38
tetradic
#38874B #384D87 #873874 #877238
square
#38874B #384D87 #873874 #877238
split-complementary
#38874B #723887 #87384D
monochromatic
#14301B #265C33 #38874B #4AB263 #74C588

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38874B#FFFFFF#000000##000000
##38874B1.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)
#887C47
Deuteranopia (green-blind)
#7E754F
Tritanopia (blue-blind)
#258578
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #38874b;
/* rgb */ color: rgb(56, 135, 75);
/* oklch */ color: oklch(55.9% 0.120 149.0);
Tailwind
colors: {
  custom: {
    50: '#76ab7e',
    500: '#38874b',
    950: '#000000',
  },
}
SCSS
$custom: #38874b;
$custom-light: #76ab7e;
$custom-dark: #000000;
JSON
{
  "hex": "#38874b",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 75
  },
  "hsl": {
    "h": 134.43,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5586,
    "c": 0.12017,
    "h": 149
  },
  "luminance": 0.18677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38874B

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

Preview Lab → · Contrast checker → · Palette generator →

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