#38571C#38571C

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

Color values

HEX#38571C
RGBrgb(56, 87, 28)
HSLhsl(92, 51%, 23%)
HSVhsv(92, 68%, 34%)
CMYKcmyk(35.6%, 0%, 67.8%, 65.9%)
CIE-LABlab(33.44, -22.69, 29.82)
CIE-LCHlch(33.44, 37.47, 127.26°)
OKLaboklab(41.85% -0.0635 0.0689)
OKLCHoklch(41.85% 0.094 132.6)
XYZxyz(5.2486, 7.7408, 2.3160)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38571C #3B1C57
analogous
#56571C #38571C #1C571D
triadic
#38571C #1C3857 #571C38
tetradic
#38571C #1C5657 #3B1C57 #571D1C
square
#38571C #1C5657 #3B1C57 #571D1C
split-complementary
#38571C #1D1C57 #571C56
monochromatic
#0F1707 #1A290D #38571C #56852B #74B43A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38571C#FFFFFF#000000##FFFFFF
##38571C1.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)
#5B5015
Deuteranopia (green-blind)
#564E21
Tritanopia (blue-blind)
#39534B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #38571c;
/* rgb */ color: rgb(56, 87, 28);
/* oklch */ color: oklch(41.8% 0.094 132.6);
Tailwind
colors: {
  custom: {
    50: '#71865b',
    500: '#38571c',
    950: '#000000',
  },
}
SCSS
$custom: #38571c;
$custom-light: #71865b;
$custom-dark: #000000;
JSON
{
  "hex": "#38571c",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 91.525,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41848,
    "c": 0.09367,
    "h": 132.6
  },
  "luminance": 0.07741
}

Semantic roles & 50–950 ramp

primary
#38571C
secondary
#69428D
accent
#4DDB98
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38571C

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

Preview Lab → · Contrast checker → · Palette generator →

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