#38873C#38873C

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

Color values

HEX#38873C
RGBrgb(56, 135, 60)
HSLhsl(123, 41%, 37%)
HSVhsv(123, 59%, 53%)
CMYKcmyk(58.5%, 0%, 55.6%, 47.1%)
CIE-LABlab(50.09, -40.40, 32.85)
CIE-LCHlch(50.09, 52.07, 140.88°)
OKLaboklab(55.61% -0.1096 0.0786)
OKLCHoklch(55.61% 0.135 144.4)
XYZxyz(11.1098, 18.4940, 7.2583)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38873C #873883
analogous
#5C8738 #38873C #388764
triadic
#38873C #3C3887 #873C38
tetradic
#38873C #385C87 #873883 #876438
square
#38873C #385C87 #873883 #876438
split-complementary
#38873C #643887 #87385C
monochromatic
#143016 #265C29 #38873C #4AB24F #74C578

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38873C#FFFFFF#000000##000000
##38873C1.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)
#897B35
Deuteranopia (green-blind)
#7F7442
Tritanopia (blue-blind)
#2A8476
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #38873c;
/* rgb */ color: rgb(56, 135, 60);
/* oklch */ color: oklch(55.6% 0.135 144.4);
Tailwind
colors: {
  custom: {
    50: '#77ab74',
    500: '#38873c',
    950: '#000000',
  },
}
SCSS
$custom: #38873c;
$custom-light: #77ab74;
$custom-dark: #000000;
JSON
{
  "hex": "#38873c",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 60
  },
  "hsl": {
    "h": 123.038,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55613,
    "c": 0.13486,
    "h": 144.4
  },
  "luminance": 0.18495
}

Semantic roles & 50–950 ramp

primary
#38873C
secondary
#AE6DAB
accent
#57CBD1
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #38873C

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

Preview Lab → · Contrast checker → · Palette generator →

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