#38481E#38481E

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

Color values

HEX#38481E
RGBrgb(56, 72, 30)
HSLhsl(83, 41%, 20%)
HSVhsv(83, 58%, 28%)
CMYKcmyk(22.2%, 0%, 58.3%, 71.8%)
CIE-LABlab(28.30, -14.42, 22.89)
CIE-LCHlch(28.30, 27.05, 122.20°)
OKLaboklab(37.69% -0.0404 0.0542)
OKLCHoklch(37.69% 0.068 126.7)
XYZxyz(4.1826, 5.5692, 2.0826)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38481E #2E1E48
analogous
#48431E #38481E #23481E
triadic
#38481E #1E3848 #481E38
tetradic
#38481E #1E4843 #2E1E48 #481E23
square
#38481E #1E4843 #2E1E48 #481E23
split-complementary
#38481E #1E2348 #431E48
monochromatic
#111609 #161D0C #38481E #5A7330 #7B9E42

Accessibility & contrast

On white

9.93
#38481E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38481E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38481E#FFFFFF#000000##FFFFFF
##38481E1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38481e;
/* rgb */ color: rgb(56, 72, 30);
/* oklch */ color: oklch(37.7% 0.068 126.7);
Tailwind
colors: {
  custom: {
    50: '#707b5b',
    500: '#38481e',
    950: '#000000',
  },
}
SCSS
$custom: #38481e;
$custom-light: #707b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#38481e",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 30
  },
  "hsl": {
    "h": 82.857,
    "s": 41.176,
    "l": 20
  },
  "oklch": {
    "l": 0.37691,
    "c": 0.06764,
    "h": 126.7
  },
  "luminance": 0.05569
}

Semantic roles & 50–950 ramp

primary
#38481E
secondary
#5A457D
accent
#57D185
background
#F6F7F5
surface
#ECEDE9
border
#C7C8C5
text
#070904
muted
#7A7B79

Preview Lab

Preview with #38481E

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

Preview Lab → · Contrast checker → · Palette generator →

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