#38972A#38972A

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

Color values

HEX#38972A
RGBrgb(56, 151, 42)
HSLhsl(112, 56%, 38%)
HSVhsv(112, 72%, 59%)
CMYKcmyk(62.9%, 0%, 72.2%, 40.8%)
CIE-LABlab(55.22, -48.59, 46.83)
CIE-LCHlch(55.22, 67.48, 136.06°)
OKLaboklab(59.79% -0.1328 0.1065)
OKLCHoklch(59.79% 0.17 141.3)
XYZxyz(13.1148, 23.1399, 5.9654)
Luminance0.2314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38972A #892A97
analogous
#6E972A #38972A #2A9753
triadic
#38972A #2A3897 #972A38
tetradic
#38972A #2A6E97 #892A97 #97532A
square
#38972A #2A6E97 #892A97 #97532A
split-complementary
#38972A #532A97 #972A6E
monochromatic
#14370F #26671D #38972A #4AC737 #75D567

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38972A#FFFFFF#000000##000000
##38972A1.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)
#9B8918
Deuteranopia (green-blind)
#8F8135
Tritanopia (blue-blind)
#299281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #38972a;
/* rgb */ color: rgb(56, 151, 42);
/* oklch */ color: oklch(59.8% 0.170 141.3);
Tailwind
colors: {
  custom: {
    50: '#7bb66a',
    500: '#38972a',
    950: '#000000',
  },
}
SCSS
$custom: #38972a;
$custom-light: #7bb66a;
$custom-dark: #000000;
JSON
{
  "hex": "#38972a",
  "rgb": {
    "r": 56,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 112.294,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59786,
    "c": 0.17022,
    "h": 141.3
  },
  "luminance": 0.23141
}

Semantic roles & 50–950 ramp

primary
#38972A
secondary
#AF62BB
accent
#48E0CC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #38972A

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

Preview Lab → · Contrast checker → · Palette generator →

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