#38872C#38872C

#38872C is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.149 H 141.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#38872C
RGBrgb(56, 135, 44)
HSLhsl(112, 51%, 35%)
HSVhsv(112, 67%, 53%)
CMYKcmyk(58.5%, 0%, 67.4%, 47.1%)
CIE-LABlab(49.92, -42.33, 40.36)
CIE-LCHlch(49.92, 58.49, 136.37°)
OKLaboklab(55.42% -0.1157 0.0932)
OKLCHoklch(55.42% 0.149 141.1)
XYZxyz(10.7490, 18.3496, 5.3578)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38872C #7B2C87
analogous
#65872C #38872C #2C874E
triadic
#38872C #2C3887 #872C38
tetradic
#38872C #2C6587 #7B2C87 #874E2C
square
#38872C #2C6587 #7B2C87 #874E2C
split-complementary
#38872C #4E2C87 #872C65
monochromatic
#122B0E #25591D #38872C #4BB53B #70CC62

Accessibility & contrast

On white

4.50
#38872C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#38872C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38872C
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38872C#FFFFFF#000000##000000
##38872C1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B20
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#2D8374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #38872c;
/* rgb */ color: rgb(56, 135, 44);
/* oklch */ color: oklch(55.4% 0.149 141.1);
Tailwind
colors: {
  custom: {
    50: '#77ab6a',
    500: '#38872c',
    950: '#000000',
  },
}
SCSS
$custom: #38872c;
$custom-light: #77ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#38872c",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 112.088,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55415,
    "c": 0.14855,
    "h": 141.1
  },
  "luminance": 0.18351
}

Semantic roles & 50–950 ramp

primary
#38872C
secondary
#A75DB2
accent
#4DDAC8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #38872C

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

Preview Lab → · Contrast checker → · Palette generator →

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