#38401B#38401B

#38401B is a dark, muted yellow-green. Relative luminance 0.046; OKLCH L 35.4% C 0.058 H 119.6°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#38401B
RGBrgb(56, 64, 27)
HSLhsl(73, 41%, 18%)
HSVhsv(73, 58%, 25%)
CMYKcmyk(12.5%, 0%, 57.8%, 74.9%)
CIE-LABlab(25.52, -10.10, 21.32)
CIE-LCHlch(25.52, 23.59, 115.36°)
OKLaboklab(35.45% -0.0286 0.0505)
OKLCHoklch(35.45% 0.058 119.6)
XYZxyz(3.6621, 4.5867, 1.7291)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38401B #231B40
analogous
#40351B #38401B #25401B
triadic
#38401B #1B3840 #401B38
tetradic
#38401B #1B4035 #231B40 #401B25
square
#38401B #1B4035 #231B40 #401B25
split-complementary
#38401B #1B2540 #351B40
monochromatic
#131609 #131609 #38401B #5E6B2D #83963F

Accessibility & contrast

On white

10.95
#38401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#38401B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38401B
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38401B#FFFFFF#000000##FFFFFF
##38401B1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D18
Deuteranopia (green-blind)
#433D1D
Tritanopia (blue-blind)
#3B3D38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #38401b;
/* rgb */ color: rgb(56, 64, 27);
/* oklch */ color: oklch(35.4% 0.058 119.6);
Tailwind
colors: {
  custom: {
    50: '#6f7458',
    500: '#38401b',
    950: '#000000',
  },
}
SCSS
$custom: #38401b;
$custom-light: #6f7458;
$custom-dark: #000000;
JSON
{
  "hex": "#38401b",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 72.973,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.35445,
    "c": 0.05806,
    "h": 119.6
  },
  "luminance": 0.04587
}

Semantic roles & 50–950 ramp

primary
#38401B
secondary
#4D4175
accent
#57D171
background
#F6F7F5
surface
#ECEDE9
border
#C7C8C5
text
#070803
muted
#7A7B78

Preview Lab

Preview with #38401B

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

Preview Lab → · Contrast checker → · Palette generator →

#38401B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva