#38873B#38873B

#38873B is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.6% C 0.136 H 144.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#38873B
RGBrgb(56, 135, 59)
HSLhsl(122, 41%, 37%)
HSVhsv(122, 59%, 53%)
CMYKcmyk(58.5%, 0%, 56.3%, 47.1%)
CIE-LABlab(50.08, -40.54, 33.35)
CIE-LCHlch(50.08, 52.49, 140.56°)
OKLaboklab(55.6% -0.11 0.0796)
OKLCHoklch(55.6% 0.136 144.1)
XYZxyz(11.0836, 18.4835, 7.1204)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38873B #873884
analogous
#5D8738 #38873B #388762
triadic
#38873B #3B3887 #873B38
tetradic
#38873B #385D87 #873884 #876238
square
#38873B #385D87 #873884 #876238
split-complementary
#38873B #623887 #87385D
monochromatic
#143015 #265C28 #38873B #4AB24E #74C577

Accessibility & contrast

On white

4.47
#38873B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#38873B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38873B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38873B#FFFFFF#000000##000000
##38873B1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B34
Deuteranopia (green-blind)
#7F7441
Tritanopia (blue-blind)
#2A8476
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #38873b;
/* rgb */ color: rgb(56, 135, 59);
/* oklch */ color: oklch(55.6% 0.136 144.1);
Tailwind
colors: {
  custom: {
    50: '#77ab73',
    500: '#38873b',
    950: '#000000',
  },
}
SCSS
$custom: #38873b;
$custom-light: #77ab73;
$custom-dark: #000000;
JSON
{
  "hex": "#38873b",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 122.278,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55599,
    "c": 0.13579,
    "h": 144.1
  },
  "luminance": 0.18484
}

Semantic roles & 50–950 ramp

primary
#38873B
secondary
#AE6DAC
accent
#57CDD1
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #38873B

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

Preview Lab → · Contrast checker → · Palette generator →

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