#38721F#38721F

#38721F is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.5% C 0.130 H 137.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#38721F
RGBrgb(56, 114, 31)
HSLhsl(102, 57%, 28%)
HSVhsv(102, 73%, 45%)
CMYKcmyk(50.9%, 0%, 72.8%, 55.3%)
CIE-LABlab(42.72, -34.96, 38.37)
CIE-LCHlch(42.72, 51.90, 132.34°)
OKLaboklab(49.46% -0.0966 0.0873)
OKLCHoklch(49.46% 0.13 137.9)
XYZxyz(7.8953, 12.9738, 3.3842)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38721F #591F72
analogous
#61721F #38721F #1F722F
triadic
#38721F #1F3872 #721F38
tetradic
#38721F #1F6172 #591F72 #722F1F
square
#38721F #1F6172 #591F72 #722F1F
split-complementary
#38721F #2F1F72 #721F61
monochromatic
#0C1807 #204212 #38721F #50A22C #6ACB40

Accessibility & contrast

On white

5.84
#38721F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#38721F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38721F
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38721F#FFFFFF#000000##FFFFFF
##38721F1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#346E61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #38721f;
/* rgb */ color: rgb(56, 114, 31);
/* oklch */ color: oklch(49.5% 0.130 137.9);
Tailwind
colors: {
  custom: {
    50: '#759b60',
    500: '#38721f',
    950: '#000000',
  },
}
SCSS
$custom: #38721f;
$custom-light: #759b60;
$custom-dark: #000000;
JSON
{
  "hex": "#38721f",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 31
  },
  "hsl": {
    "h": 101.928,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49457,
    "c": 0.1302,
    "h": 137.9
  },
  "luminance": 0.12974
}

Semantic roles & 50–950 ramp

primary
#38721F
secondary
#8947A6
accent
#47E0B2
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38721F

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

Preview Lab → · Contrast checker → · Palette generator →

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