#38541A#38541A

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

Color values

HEX#38541A
RGBrgb(56, 84, 26)
HSLhsl(89, 53%, 22%)
HSVhsv(89, 69%, 33%)
CMYKcmyk(33.3%, 0%, 69%, 67.1%)
CIE-LABlab(32.38, -21.35, 29.66)
CIE-LCHlch(32.38, 36.54, 125.75°)
OKLaboklab(40.98% -0.06 0.0683)
OKLCHoklch(40.98% 0.091 131.3)
XYZxyz(4.9876, 7.2558, 2.1148)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38541A #361A54
analogous
#54531A #38541A #1B541A
triadic
#38541A #1A3854 #541A38
tetradic
#38541A #1A5453 #361A54 #541A1B
square
#38541A #1A5453 #361A54 #541A1B
split-complementary
#38541A #1A1B54 #531A54
monochromatic
#101707 #19250C #38541A #578328 #76B137

Accessibility & contrast

On white

8.57
#38541A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38541A
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38541A#FFFFFF#000000##FFFFFF
##38541A1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38541a;
/* rgb */ color: rgb(56, 84, 26);
/* oklch */ color: oklch(41.0% 0.091 131.3);
Tailwind
colors: {
  custom: {
    50: '#718459',
    500: '#38541a',
    950: '#000000',
  },
}
SCSS
$custom: #38541a;
$custom-light: #718459;
$custom-dark: #000000;
JSON
{
  "hex": "#38541a",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 26
  },
  "hsl": {
    "h": 88.966,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40984,
    "c": 0.09088,
    "h": 131.3
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#38541A
secondary
#64408A
accent
#4CDC91
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38541A

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

Preview Lab → · Contrast checker → · Palette generator →

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