#38712D#38712D

#38712D is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.3% C 0.117 H 140.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#38712D
RGBrgb(56, 113, 45)
HSLhsl(110, 43%, 31%)
HSVhsv(110, 60%, 44%)
CMYKcmyk(50.4%, 0%, 60.2%, 55.7%)
CIE-LABlab(42.52, -33.04, 31.55)
CIE-LCHlch(42.52, 45.69, 136.32°)
OKLaboklab(49.33% -0.0904 0.0745)
OKLCHoklch(49.33% 0.117 140.5)
XYZxyz(8.0093, 12.8399, 4.5384)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38712D #662D71
analogous
#5A712D #38712D #2D7144
triadic
#38712D #2D3871 #712D38
tetradic
#38712D #2D5A71 #662D71 #71442D
square
#38712D #2D5A71 #662D71 #71442D
split-complementary
#38712D #442D71 #712D5A
monochromatic
#0D190A #22451C #38712D #4E9D3E #6BBE5B

Accessibility & contrast

On white

5.89
#38712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#38712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38712D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38712D#FFFFFF#000000##FFFFFF
##38712D1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746726
Deuteranopia (green-blind)
#6C6232
Tritanopia (blue-blind)
#326E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #38712d;
/* rgb */ color: rgb(56, 113, 45);
/* oklch */ color: oklch(49.3% 0.117 140.5);
Tailwind
colors: {
  custom: {
    50: '#749a68',
    500: '#38712d',
    950: '#000000',
  },
}
SCSS
$custom: #38712d;
$custom-light: #749a68;
$custom-dark: #000000;
JSON
{
  "hex": "#38712d",
  "rgb": {
    "r": 56,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 110.294,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.11714,
    "h": 140.5
  },
  "luminance": 0.1284
}

Semantic roles & 50–950 ramp

primary
#38712D
secondary
#9657A3
accent
#55D3BE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #38712D

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

Preview Lab → · Contrast checker → · Palette generator →

#38712D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva