#38481C#38481C

#38481C is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.7% C 0.070 H 126.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#38481C
RGBrgb(56, 72, 28)
HSLhsl(82, 44%, 20%)
HSVhsv(82, 61%, 28%)
CMYKcmyk(22.2%, 0%, 61.1%, 71.8%)
CIE-LABlab(28.27, -14.65, 23.98)
CIE-LCHlch(28.27, 28.11, 121.42°)
OKLaboklab(37.66% -0.0413 0.0564)
OKLCHoklch(37.66% 0.07 126.2)
XYZxyz(4.1578, 5.5593, 1.9524)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38481C #2C1C48
analogous
#48421C #38481C #22481C
triadic
#38481C #1C3848 #481C38
tetradic
#38481C #1C4842 #2C1C48 #481C22
square
#38481C #1C4842 #2C1C48 #481C22
split-complementary
#38481C #1C2248 #421C48
monochromatic
#111609 #161C0B #38481C #5A742D #7DA03E

Accessibility & contrast

On white

9.94
#38481C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#38481C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38481C
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38481C#FFFFFF#000000##FFFFFF
##38481C1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4318
Deuteranopia (green-blind)
#4A421F
Tritanopia (blue-blind)
#3A453E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #38481c;
/* rgb */ color: rgb(56, 72, 28);
/* oklch */ color: oklch(37.7% 0.070 126.2);
Tailwind
colors: {
  custom: {
    50: '#707b5a',
    500: '#38481c',
    950: '#000000',
  },
}
SCSS
$custom: #38481c;
$custom-light: #707b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#38481c",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 28
  },
  "hsl": {
    "h": 81.818,
    "s": 44,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37661,
    "c": 0.06989,
    "h": 126.2
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#38481C
secondary
#58427D
accent
#54D482
background
#F6F7F5
surface
#ECEDE9
border
#C7C8C5
text
#070904
muted
#7A7B79

Preview Lab

Preview with #38481C

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

Preview Lab → · Contrast checker → · Palette generator →

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