#38972F#38972F

#38972F is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.8% C 0.167 H 141.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#38972F
RGBrgb(56, 151, 47)
HSLhsl(115, 53%, 39%)
HSVhsv(115, 69%, 59%)
CMYKcmyk(62.9%, 0%, 68.9%, 40.8%)
CIE-LABlab(55.26, -48.14, 44.82)
CIE-LCHlch(55.26, 65.78, 137.04°)
OKLaboklab(59.83% -0.1312 0.103)
OKLCHoklch(59.83% 0.167 141.9)
XYZxyz(13.2099, 23.1779, 6.4664)
Luminance0.2318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38972F #8E2F97
analogous
#6C972F #38972F #2F975A
triadic
#38972F #2F3897 #972F38
tetradic
#38972F #2F6C97 #8E2F97 #975A2F
square
#38972F #2F6C97 #8E2F97 #975A2F
split-complementary
#38972F #5A2F97 #972F6C
monochromatic
#153A12 #276820 #38972F #4BC340 #77D26E

Accessibility & contrast

On white

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

On black

5.64
#38972F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38972F
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38972F#FFFFFF#000000##000000
##38972F1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38972f;
/* rgb */ color: rgb(56, 151, 47);
/* oklch */ color: oklch(59.8% 0.167 141.9);
Tailwind
colors: {
  custom: {
    50: '#7ab66d',
    500: '#38972f',
    950: '#000000',
  },
}
SCSS
$custom: #38972f;
$custom-light: #7ab66d;
$custom-dark: #000000;
JSON
{
  "hex": "#38972f",
  "rgb": {
    "r": 56,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 114.808,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59831,
    "c": 0.16681,
    "h": 141.9
  },
  "luminance": 0.23179
}

Semantic roles & 50–950 ramp

primary
#38972F
secondary
#B268B9
accent
#4CDCCF
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #38972F

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

Preview Lab → · Contrast checker → · Palette generator →

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