#38872D#38872D

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

Color values

HEX#38872D
RGBrgb(56, 135, 45)
HSLhsl(113, 50%, 35%)
HSVhsv(113, 67%, 53%)
CMYKcmyk(58.5%, 0%, 66.7%, 47.1%)
CIE-LABlab(49.93, -42.23, 39.92)
CIE-LCHlch(49.93, 58.11, 136.61°)
OKLaboklab(55.43% -0.1153 0.0924)
OKLCHoklch(55.43% 0.148 141.3)
XYZxyz(10.7680, 18.3572, 5.4580)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38872D #7C2D87
analogous
#65872D #38872D #2D874F
triadic
#38872D #2D3887 #872D38
tetradic
#38872D #2D6587 #7C2D87 #874F2D
square
#38872D #2D6587 #7C2D87 #874F2D
split-complementary
#38872D #4F2D87 #872D65
monochromatic
#122B0E #25591E #38872D #4BB53C #70CB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38872D#FFFFFF#000000##000000
##38872D1.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)
#8A7B22
Deuteranopia (green-blind)
#807435
Tritanopia (blue-blind)
#2D8374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #38872d;
/* rgb */ color: rgb(56, 135, 45);
/* oklch */ color: oklch(55.4% 0.148 141.3);
Tailwind
colors: {
  custom: {
    50: '#77ab6a',
    500: '#38872d',
    950: '#000000',
  },
}
SCSS
$custom: #38872d;
$custom-light: #77ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#38872d",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 112.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55426,
    "c": 0.14778,
    "h": 141.3
  },
  "luminance": 0.18358
}

Semantic roles & 50–950 ramp

primary
#38872D
secondary
#A75EB2
accent
#4EDAC8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #38872D

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

Preview Lab → · Contrast checker → · Palette generator →

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