#38972B#38972B

#38972B is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.8% C 0.170 H 141.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#38972B
RGBrgb(56, 151, 43)
HSLhsl(113, 56%, 38%)
HSVhsv(113, 72%, 59%)
CMYKcmyk(62.9%, 0%, 71.5%, 40.8%)
CIE-LABlab(55.22, -48.51, 46.44)
CIE-LCHlch(55.22, 67.15, 136.25°)
OKLaboklab(59.79% -0.1325 0.1058)
OKLCHoklch(59.79% 0.17 141.4)
XYZxyz(13.1329, 23.1471, 6.0608)
Luminance0.2315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38972B #8A2B97
analogous
#6E972B #38972B #2B9754
triadic
#38972B #2B3897 #972B38
tetradic
#38972B #2B6E97 #8A2B97 #97542B
square
#38972B #2B6E97 #8A2B97 #97542B
split-complementary
#38972B #542B97 #972B6E
monochromatic
#153810 #26671D #38972B #4AC739 #75D468

Accessibility & contrast

On white

3.73
#38972B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#38972B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38972B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38972B#FFFFFF#000000##000000
##38972B1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891A
Deuteranopia (green-blind)
#8F8135
Tritanopia (blue-blind)
#289282
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #38972b;
/* rgb */ color: rgb(56, 151, 43);
/* oklch */ color: oklch(59.8% 0.170 141.4);
Tailwind
colors: {
  custom: {
    50: '#7bb66b',
    500: '#38972b',
    950: '#000000',
  },
}
SCSS
$custom: #38972b;
$custom-light: #7bb66b;
$custom-dark: #000000;
JSON
{
  "hex": "#38972b",
  "rgb": {
    "r": 56,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 112.778,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59794,
    "c": 0.16956,
    "h": 141.4
  },
  "luminance": 0.23148
}

Semantic roles & 50–950 ramp

primary
#38972B
secondary
#B063BB
accent
#49DFCD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #38972B

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

Preview Lab → · Contrast checker → · Palette generator →

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