#38971A#38971A

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

Color values

HEX#38971A
RGBrgb(56, 151, 26)
HSLhsl(106, 71%, 35%)
HSVhsv(106, 83%, 59%)
CMYKcmyk(62.9%, 0%, 82.8%, 40.8%)
CIE-LABlab(55.12, -49.71, 52.23)
CIE-LCHlch(55.12, 72.11, 133.58°)
OKLaboklab(59.68% -0.1366 0.1156)
OKLCHoklch(59.68% 0.179 139.8)
XYZxyz(12.8834, 23.0473, 4.7467)
Luminance0.2305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38971A #791A97
analogous
#77971A #38971A #1A973B
triadic
#38971A #1A3897 #971A38
tetradic
#38971A #1A7797 #791A97 #973B1A
square
#38971A #1A7797 #791A97 #973B1A
split-complementary
#38971A #3B1A97 #971A77
monochromatic
#112F08 #256311 #38971A #4BCB23 #6FE04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38971A#FFFFFF#000000##000000
##38971A1.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)
#90812A
Tritanopia (blue-blind)
#2B9280
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #38971a;
/* rgb */ color: rgb(56, 151, 26);
/* oklch */ color: oklch(59.7% 0.179 139.8);
Tailwind
colors: {
  custom: {
    50: '#7bb663',
    500: '#38971a',
    950: '#000000',
  },
}
SCSS
$custom: #38971a;
$custom-light: #7bb663;
$custom-dark: #000000;
JSON
{
  "hex": "#38971a",
  "rgb": {
    "r": 56,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 105.6,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59677,
    "c": 0.17896,
    "h": 139.8
  },
  "luminance": 0.23049
}

Semantic roles & 50–950 ramp

primary
#38971A
secondary
#A54BC2
accent
#3AEDC2
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #38971A

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

Preview Lab → · Contrast checker → · Palette generator →

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