#38571A#38571A

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

Color values

HEX#38571A
RGBrgb(56, 87, 26)
HSLhsl(90, 54%, 22%)
HSVhsv(90, 70%, 34%)
CMYKcmyk(35.6%, 0%, 70.1%, 65.9%)
CIE-LABlab(33.42, -22.88, 30.78)
CIE-LCHlch(33.42, 38.35, 126.63°)
OKLaboklab(41.83% -0.0642 0.0706)
OKLCHoklch(41.83% 0.095 132.3)
XYZxyz(5.2255, 7.7315, 2.1941)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38571A #391A57
analogous
#57571A #38571A #1A571B
triadic
#38571A #1A3857 #571A38
tetradic
#38571A #1A5757 #391A57 #571B1A
square
#38571A #1A5757 #391A57 #571B1A
split-complementary
#38571A #1B1A57 #571A57
monochromatic
#0F1807 #1A280C #38571A #568628 #75B536

Accessibility & contrast

On white

8.25
#38571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38571A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38571A#FFFFFF#000000##FFFFFF
##38571A1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5012
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#39534A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #38571a;
/* rgb */ color: rgb(56, 87, 26);
/* oklch */ color: oklch(41.8% 0.095 132.3);
Tailwind
colors: {
  custom: {
    50: '#71865a',
    500: '#38571a',
    950: '#000000',
  },
}
SCSS
$custom: #38571a;
$custom-light: #71865a;
$custom-dark: #000000;
JSON
{
  "hex": "#38571a",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 90.492,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41826,
    "c": 0.09544,
    "h": 132.3
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#38571A
secondary
#67408D
accent
#4ADD95
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38571A

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

Preview Lab → · Contrast checker → · Palette generator →

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