#38571D#38571D

#38571D is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.9% C 0.093 H 132.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#38571D
RGBrgb(56, 87, 29)
HSLhsl(92, 50%, 23%)
HSVhsv(92, 67%, 34%)
CMYKcmyk(35.6%, 0%, 66.7%, 65.9%)
CIE-LABlab(33.45, -22.59, 29.33)
CIE-LCHlch(33.45, 37.02, 127.60°)
OKLaboklab(41.86% -0.0631 0.068)
OKLCHoklch(41.86% 0.093 132.9)
XYZxyz(5.2608, 7.7457, 2.3800)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38571D #3C1D57
analogous
#55571D #38571D #1D571F
triadic
#38571D #1D3857 #571D38
tetradic
#38571D #1D5557 #3C1D57 #571F1D
square
#38571D #1D5557 #3C1D57 #571F1D
split-complementary
#38571D #1F1D57 #571D55
monochromatic
#0F1708 #1A290E #38571D #56852C #73B33C

Accessibility & contrast

On white

8.24
#38571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#38571D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38571D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38571D#FFFFFF#000000##FFFFFF
##38571D1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5016
Deuteranopia (green-blind)
#564E21
Tritanopia (blue-blind)
#38534B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #38571d;
/* rgb */ color: rgb(56, 87, 29);
/* oklch */ color: oklch(41.9% 0.093 132.9);
Tailwind
colors: {
  custom: {
    50: '#71865c',
    500: '#38571d',
    950: '#000000',
  },
}
SCSS
$custom: #38571d;
$custom-light: #71865c;
$custom-dark: #000000;
JSON
{
  "hex": "#38571d",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 92.069,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.09275,
    "h": 132.9
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#38571D
secondary
#6A448C
accent
#4EDA99
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38571D

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

Preview Lab → · Contrast checker → · Palette generator →

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