#38420C#38420C

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

Color values

HEX#38420C
RGBrgb(56, 66, 12)
HSLhsl(71, 69%, 15%)
HSVhsv(71, 82%, 26%)
CMYKcmyk(15.2%, 0%, 81.8%, 74.1%)
CIE-LABlab(26.05, -12.63, 29.59)
CIE-LCHlch(26.05, 32.18, 113.12°)
OKLaboklab(35.82% -0.0374 0.0658)
OKLCHoklch(35.82% 0.076 119.6)
XYZxyz(3.6455, 4.7637, 1.0752)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38420C #160C42
analogous
#42310C #38420C #1D420C
triadic
#38420C #0C3842 #420C38
tetradic
#38420C #0C4231 #160C42 #420C1D
square
#38420C #0C4231 #160C42 #420C1D
split-complementary
#38420C #0C1D42 #310C42
monochromatic
#161A05 #161A05 #38420C #647615 #90AA1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38420C#FFFFFF#000000##FFFFFF
##38420C1.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)
#473E04
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#3C3E38
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #38420c;
/* rgb */ color: rgb(56, 66, 12);
/* oklch */ color: oklch(35.8% 0.076 119.6);
Tailwind
colors: {
  custom: {
    50: '#71764f',
    500: '#38420c',
    950: '#000000',
  },
}
SCSS
$custom: #38420c;
$custom-light: #71764f;
$custom-dark: #000000;
JSON
{
  "hex": "#38420c",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 71.111,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35819,
    "c": 0.07569,
    "h": 119.6
  },
  "luminance": 0.04764
}

Semantic roles & 50–950 ramp

primary
#38420C
secondary
#3B2C7E
accent
#3CEC5C
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #38420C

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

Preview Lab → · Contrast checker → · Palette generator →

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