#38541F#38541F

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

Color values

HEX#38541F
RGBrgb(56, 84, 31)
HSLhsl(92, 46%, 23%)
HSVhsv(92, 63%, 33%)
CMYKcmyk(33.3%, 0%, 63.1%, 67.1%)
CIE-LABlab(32.44, -20.83, 27.16)
CIE-LCHlch(32.44, 34.23, 127.48°)
OKLaboklab(41.05% -0.0581 0.0636)
OKLCHoklch(41.05% 0.086 132.4)
XYZxyz(5.0485, 7.2802, 2.4353)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38541F #3B1F54
analogous
#53541F #38541F #1F5420
triadic
#38541F #1F3854 #541F38
tetradic
#38541F #1F5354 #3B1F54 #54201F
square
#38541F #1F5354 #3B1F54 #54201F
split-complementary
#38541F #201F54 #541F53
monochromatic
#0F1608 #1A270F #38541F #56812F #74AD40

Accessibility & contrast

On white

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

On black

2.46
#38541F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##38541F#FFFFFF#000000##FFFFFF
##38541F1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38541f;
/* rgb */ color: rgb(56, 84, 31);
/* oklch */ color: oklch(41.0% 0.086 132.4);
Tailwind
colors: {
  custom: {
    50: '#71845d',
    500: '#38541f',
    950: '#000000',
  },
}
SCSS
$custom: #38541f;
$custom-light: #71845d;
$custom-dark: #000000;
JSON
{
  "hex": "#38541f",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 31
  },
  "hsl": {
    "h": 91.698,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41045,
    "c": 0.08612,
    "h": 132.4
  },
  "luminance": 0.0728
}

Semantic roles & 50–950 ramp

primary
#38541F
secondary
#694689
accent
#52D698
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38541F

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

Preview Lab → · Contrast checker → · Palette generator →

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