#38402A#38402A

#38402A is a dark, muted yellow-green. Relative luminance 0.047; OKLCH L 35.7% C 0.038 H 124.5°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#38402A
RGBrgb(56, 64, 42)
HSLhsl(82, 21%, 21%)
HSVhsv(82, 34%, 25%)
CMYKcmyk(12.5%, 0%, 34.4%, 74.9%)
CIE-LABlab(25.79, -7.92, 12.40)
CIE-LCHlch(25.79, 14.72, 122.57°)
OKLaboklab(35.74% -0.0214 0.0311)
OKLCHoklch(35.74% 0.038 124.5)
XYZxyz(3.8822, 4.6747, 2.8878)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38402A #322A40
analogous
#403D2A #38402A #2D402A
triadic
#38402A #2A3840 #402A38
tetradic
#38402A #2A403D #322A40 #402A2D
square
#38402A #2A403D #322A40 #402A2D
split-complementary
#38402A #2A2D40 #3D2A40
monochromatic
#10120C #181B12 #38402A #586542 #798A5A

Accessibility & contrast

On white

10.85
#38402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#38402A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38402A
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38402A#FFFFFF#000000##FFFFFF
##38402A1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D29
Deuteranopia (green-blind)
#413D2B
Tritanopia (blue-blind)
#393E3A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #38402a;
/* rgb */ color: rgb(56, 64, 42);
/* oklch */ color: oklch(35.7% 0.038 124.5);
Tailwind
colors: {
  custom: {
    50: '#6f7463',
    500: '#38402a',
    950: '#000000',
  },
}
SCSS
$custom: #38402a;
$custom-light: #6f7463;
$custom-dark: #000000;
JSON
{
  "hex": "#38402a",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 81.818,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35742,
    "c": 0.03772,
    "h": 124.5
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

primary
#38402A
secondary
#5F5571
accent
#6ABD89
background
#F6F7F5
surface
#ECEDEA
border
#C7C8C6
text
#070805
muted
#7A7B79

Preview Lab

Preview with #38402A

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

Preview Lab → · Contrast checker → · Palette generator →

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