#38541E#38541E

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

Color values

HEX#38541E
RGBrgb(56, 84, 30)
HSLhsl(91, 47%, 22%)
HSVhsv(91, 64%, 33%)
CMYKcmyk(33.3%, 0%, 64.3%, 67.1%)
CIE-LABlab(32.42, -20.94, 27.67)
CIE-LCHlch(32.42, 34.70, 127.11°)
OKLaboklab(41.03% -0.0585 0.0646)
OKLCHoklch(41.03% 0.087 132.2)
XYZxyz(5.0355, 7.2750, 2.3669)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38541E #3A1E54
analogous
#53541E #38541E #1E541F
triadic
#38541E #1E3854 #541E38
tetradic
#38541E #1E5354 #3A1E54 #541F1E
square
#38541E #1E5354 #3A1E54 #541F1E
split-complementary
#38541E #1F1E54 #541E53
monochromatic
#0F1708 #1A270E #38541E #56812E #74AE3E

Accessibility & contrast

On white

8.55
#38541E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38541E
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38541E#FFFFFF#000000##FFFFFF
##38541E1.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E18
Deuteranopia (green-blind)
#544C22
Tritanopia (blue-blind)
#395148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #38541e;
/* rgb */ color: rgb(56, 84, 30);
/* oklch */ color: oklch(41.0% 0.087 132.2);
Tailwind
colors: {
  custom: {
    50: '#71845c',
    500: '#38541e',
    950: '#000000',
  },
}
SCSS
$custom: #38541e;
$custom-light: #71845c;
$custom-dark: #000000;
JSON
{
  "hex": "#38541e",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 30
  },
  "hsl": {
    "h": 91.111,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41032,
    "c": 0.08711,
    "h": 132.2
  },
  "luminance": 0.07275
}

Semantic roles & 50–950 ramp

primary
#38541E
secondary
#684589
accent
#51D796
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38541E

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

Preview Lab → · Contrast checker → · Palette generator →

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