#38541B#38541B

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

Color values

HEX#38541B
RGBrgb(56, 84, 27)
HSLhsl(89, 51%, 22%)
HSVhsv(89, 68%, 33%)
CMYKcmyk(33.3%, 0%, 67.9%, 67.1%)
CIE-LABlab(32.39, -21.25, 29.17)
CIE-LCHlch(32.39, 36.09, 126.08°)
OKLaboklab(41% -0.0596 0.0674)
OKLCHoklch(41% 0.09 131.5)
XYZxyz(4.9990, 7.2604, 2.1747)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38541B #371B54
analogous
#54541B #38541B #1C541B
triadic
#38541B #1B3854 #541B38
tetradic
#38541B #1B5454 #371B54 #541B1C
square
#38541B #1B5454 #371B54 #541B1C
split-complementary
#38541B #1B1C54 #541B54
monochromatic
#0F1707 #19260C #38541B #57822A #76B139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38541B#FFFFFF#000000##FFFFFF
##38541B1.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)
#584E14
Deuteranopia (green-blind)
#544B1F
Tritanopia (blue-blind)
#395048
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #38541b;
/* rgb */ color: rgb(56, 84, 27);
/* oklch */ color: oklch(41.0% 0.090 131.5);
Tailwind
colors: {
  custom: {
    50: '#71845a',
    500: '#38541b',
    950: '#000000',
  },
}
SCSS
$custom: #38541b;
$custom-light: #71845a;
$custom-dark: #000000;
JSON
{
  "hex": "#38541b",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 89.474,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40995,
    "c": 0.08997,
    "h": 131.5
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#38541B
secondary
#65418A
accent
#4DDB93
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38541B

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

Preview Lab → · Contrast checker → · Palette generator →

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