#38420F#38420F

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

Color values

HEX#38420F
RGBrgb(56, 66, 15)
HSLhsl(72, 63%, 16%)
HSVhsv(72, 77%, 26%)
CMYKcmyk(15.2%, 0%, 77.3%, 74.1%)
CIE-LABlab(26.07, -12.43, 28.29)
CIE-LCHlch(26.07, 30.89, 113.72°)
OKLaboklab(35.85% -0.0365 0.0636)
OKLCHoklch(35.85% 0.073 119.9)
XYZxyz(3.6654, 4.7717, 1.1798)
Luminance0.0477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38420F #190F42
analogous
#42320F #38420F #1E420F
triadic
#38420F #0F3842 #420F38
tetradic
#38420F #0F4232 #190F42 #420F1E
square
#38420F #0F4232 #190F42 #420F1E
split-complementary
#38420F #0F1E42 #320F42
monochromatic
#151906 #151906 #38420F #62741A #8DA626

Accessibility & contrast

On white

10.74
#38420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38420F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38420F#FFFFFF#000000##FFFFFF
##38420F1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E07
Deuteranopia (green-blind)
#453E13
Tritanopia (blue-blind)
#3C3E38
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #38420f;
/* rgb */ color: rgb(56, 66, 15);
/* oklch */ color: oklch(35.8% 0.073 119.9);
Tailwind
colors: {
  custom: {
    50: '#707651',
    500: '#38420f',
    950: '#000000',
  },
}
SCSS
$custom: #38420f;
$custom-light: #707651;
$custom-dark: #000000;
JSON
{
  "hex": "#38420f",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 71.765,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35845,
    "c": 0.07337,
    "h": 119.9
  },
  "luminance": 0.04772
}

Semantic roles & 50–950 ramp

primary
#38420F
secondary
#3F307C
accent
#42E662
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #38420F

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

Preview Lab → · Contrast checker → · Palette generator →

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