#38971C#38971C

#38971C is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.178 H 139.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#38971C
RGBrgb(56, 151, 28)
HSLhsl(106, 69%, 35%)
HSVhsv(106, 81%, 59%)
CMYKcmyk(62.9%, 0%, 81.5%, 40.8%)
CIE-LABlab(55.13, -49.60, 51.65)
CIE-LCHlch(55.13, 71.61, 133.84°)
OKLaboklab(59.69% -0.1362 0.1146)
OKLCHoklch(59.69% 0.178 139.9)
XYZxyz(12.9065, 23.0566, 4.8686)
Luminance0.2306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38971C #7B1C97
analogous
#76971C #38971C #1C973D
triadic
#38971C #1C3897 #971C38
tetradic
#38971C #1C7697 #7B1C97 #973D1C
square
#38971C #1C7697 #7B1C97 #973D1C
split-complementary
#38971C #3D1C97 #971C76
monochromatic
#123009 #256312 #38971C #4BCB26 #70DE4F

Accessibility & contrast

On white

3.74
#38971C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#38971C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38971C
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38971C#FFFFFF#000000##000000
##38971C1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#90812B
Tritanopia (blue-blind)
#2B9280
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #38971c;
/* rgb */ color: rgb(56, 151, 28);
/* oklch */ color: oklch(59.7% 0.178 139.9);
Tailwind
colors: {
  custom: {
    50: '#7bb663',
    500: '#38971c',
    950: '#000000',
  },
}
SCSS
$custom: #38971c;
$custom-light: #7bb663;
$custom-dark: #000000;
JSON
{
  "hex": "#38971c",
  "rgb": {
    "r": 56,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 106.341,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59688,
    "c": 0.17806,
    "h": 139.9
  },
  "luminance": 0.23058
}

Semantic roles & 50–950 ramp

primary
#38971C
secondary
#A74EC1
accent
#3CECC4
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38971C

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

Preview Lab → · Contrast checker → · Palette generator →

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