#38541C#38541C

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

Color values

HEX#38541C
RGBrgb(56, 84, 28)
HSLhsl(90, 50%, 22%)
HSVhsv(90, 67%, 33%)
CMYKcmyk(33.3%, 0%, 66.7%, 67.1%)
CIE-LABlab(32.40, -21.15, 28.68)
CIE-LCHlch(32.40, 35.63, 126.41°)
OKLaboklab(41.01% -0.0592 0.0665)
OKLCHoklch(41.01% 0.089 131.7)
XYZxyz(5.0108, 7.2651, 2.2367)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38541C #381C54
analogous
#54541C #38541C #1C541C
triadic
#38541C #1C3854 #541C38
tetradic
#38541C #1C5454 #381C54 #541C1C
square
#38541C #1C5454 #381C54 #541C1C
split-complementary
#38541C #1C1C54 #541C54
monochromatic
#0F1708 #19260D #38541C #57822B #75B03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38541C#FFFFFF#000000##FFFFFF
##38541C1.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)
#584E16
Deuteranopia (green-blind)
#544B20
Tritanopia (blue-blind)
#395048
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #38541c;
/* rgb */ color: rgb(56, 84, 28);
/* oklch */ color: oklch(41.0% 0.089 131.7);
Tailwind
colors: {
  custom: {
    50: '#71845b',
    500: '#38541c',
    950: '#000000',
  },
}
SCSS
$custom: #38541c;
$custom-light: #71845b;
$custom-dark: #000000;
JSON
{
  "hex": "#38541c",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 28
  },
  "hsl": {
    "h": 90,
    "s": 50,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41007,
    "c": 0.08904,
    "h": 131.7
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#38541C
secondary
#66428A
accent
#4EDA94
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38541C

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

Preview Lab → · Contrast checker → · Palette generator →

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