#38541D#38541D

#38541D is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.0% C 0.088 H 131.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#38541D
RGBrgb(56, 84, 29)
HSLhsl(91, 49%, 22%)
HSVhsv(91, 65%, 33%)
CMYKcmyk(33.3%, 0%, 65.5%, 67.1%)
CIE-LABlab(32.41, -21.05, 28.18)
CIE-LCHlch(32.41, 35.17, 126.76°)
OKLaboklab(41.02% -0.0589 0.0655)
OKLCHoklch(41.02% 0.088 131.9)
XYZxyz(5.0229, 7.2699, 2.3008)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38541D #391D54
analogous
#54541D #38541D #1D541D
triadic
#38541D #1D3854 #541D38
tetradic
#38541D #1D5454 #391D54 #541D1D
square
#38541D #1D5454 #391D54 #541D1D
split-complementary
#38541D #1D1D54 #541D54
monochromatic
#0F1708 #1A270D #38541D #56812D #75AF3C

Accessibility & contrast

On white

8.56
#38541D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#38541D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38541D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38541D#FFFFFF#000000##FFFFFF
##38541D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E17
Deuteranopia (green-blind)
#544B21
Tritanopia (blue-blind)
#395048
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #38541d;
/* rgb */ color: rgb(56, 84, 29);
/* oklch */ color: oklch(41.0% 0.088 131.9);
Tailwind
colors: {
  custom: {
    50: '#71845b',
    500: '#38541d',
    950: '#000000',
  },
}
SCSS
$custom: #38541d;
$custom-light: #71845b;
$custom-dark: #000000;
JSON
{
  "hex": "#38541d",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 29
  },
  "hsl": {
    "h": 90.545,
    "s": 48.673,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41019,
    "c": 0.08808,
    "h": 131.9
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#38541D
secondary
#674489
accent
#50D895
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38541D

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

Preview Lab → · Contrast checker → · Palette generator →

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