#38420D#38420D

#38420D is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.8% C 0.075 H 119.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#38420D
RGBrgb(56, 66, 13)
HSLhsl(71, 67%, 15%)
HSVhsv(71, 80%, 26%)
CMYKcmyk(15.2%, 0%, 80.3%, 74.1%)
CIE-LABlab(26.06, -12.57, 29.17)
CIE-LCHlch(26.06, 31.76, 113.31°)
OKLaboklab(35.83% -0.0371 0.0651)
OKLCHoklch(35.83% 0.075 119.7)
XYZxyz(3.6518, 4.7663, 1.1083)
Luminance0.0477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38420D #170D42
analogous
#42310D #38420D #1D420D
triadic
#38420D #0D3842 #420D38
tetradic
#38420D #0D4231 #170D42 #420D1D
square
#38420D #0D4231 #170D42 #420D1D
split-complementary
#38420D #0D1D42 #310D42
monochromatic
#161A05 #161A05 #38420D #637517 #8FA821

Accessibility & contrast

On white

10.75
#38420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#38420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38420D
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38420D#FFFFFF#000000##FFFFFF
##38420D1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E05
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#3C3E38
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #38420d;
/* rgb */ color: rgb(56, 66, 13);
/* oklch */ color: oklch(35.8% 0.075 119.7);
Tailwind
colors: {
  custom: {
    50: '#717650',
    500: '#38420d',
    950: '#000000',
  },
}
SCSS
$custom: #38420d;
$custom-light: #717650;
$custom-dark: #000000;
JSON
{
  "hex": "#38420d",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 71.321,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.35827,
    "c": 0.07494,
    "h": 119.7
  },
  "luminance": 0.04766
}

Semantic roles & 50–950 ramp

primary
#38420D
secondary
#3C2D7E
accent
#3EEA5E
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #38420D

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

Preview Lab → · Contrast checker → · Palette generator →

#38420D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva