#38971E#38971E

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

Color values

HEX#38971E
RGBrgb(56, 151, 30)
HSLhsl(107, 67%, 35%)
HSVhsv(107, 80%, 59%)
CMYKcmyk(62.9%, 0%, 80.1%, 40.8%)
CIE-LABlab(55.14, -49.48, 51.04)
CIE-LCHlch(55.14, 71.09, 134.11°)
OKLaboklab(59.7% -0.1358 0.1136)
OKLCHoklch(59.7% 0.177 140.1)
XYZxyz(12.9312, 23.0665, 4.9989)
Luminance0.2307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38971E #7D1E97
analogous
#75971E #38971E #1E9740
triadic
#38971E #1E3897 #971E38
tetradic
#38971E #1E7597 #7D1E97 #97401E
square
#38971E #1E7597 #7D1E97 #97401E
split-complementary
#38971E #401E97 #971E75
monochromatic
#12310A #256414 #38971E #4BCA28 #70DD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38971E#FFFFFF#000000##000000
##38971E1.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)
#90812C
Tritanopia (blue-blind)
#2A9281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #38971e;
/* rgb */ color: rgb(56, 151, 30);
/* oklch */ color: oklch(59.7% 0.177 140.1);
Tailwind
colors: {
  custom: {
    50: '#7bb664',
    500: '#38971e',
    950: '#000000',
  },
}
SCSS
$custom: #38971e;
$custom-light: #7bb664;
$custom-dark: #000000;
JSON
{
  "hex": "#38971e",
  "rgb": {
    "r": 56,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 107.107,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59699,
    "c": 0.17709,
    "h": 140.1
  },
  "luminance": 0.23068
}

Semantic roles & 50–950 ramp

primary
#38971E
secondary
#A851C0
accent
#3EEAC5
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38971E

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

Preview Lab → · Contrast checker → · Palette generator →

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