#3E420F#3E420F

#3E420F is a dark, moderate yellow. Relative luminance 0.050; OKLCH L 36.4% C 0.071 H 113.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#3E420F
RGBrgb(62, 66, 15)
HSLhsl(65, 63%, 16%)
HSVhsv(65, 77%, 26%)
CMYKcmyk(6.1%, 0%, 77.3%, 74.1%)
CIE-LABlab(26.61, -9.42, 28.99)
CIE-LCHlch(26.61, 30.49, 108.01°)
OKLaboklab(36.41% -0.0286 0.0649)
OKLCHoklch(36.41% 0.071 113.8)
XYZxyz(4.0212, 4.9551, 1.1965)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E420F #130F42
analogous
#422C0F #3E420F #24420F
triadic
#3E420F #0F3E42 #420F3E
tetradic
#3E420F #0F422C #130F42 #420F24
square
#3E420F #0F422C #130F42 #420F24
split-complementary
#3E420F #0F2442 #2C0F42
monochromatic
#171906 #171906 #3E420F #6D741A #9CA626

Accessibility & contrast

On white

10.55
#3E420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3E420F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E420F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E420F#FFFFFF#000000##FFFFFF
##3E420F1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E07
Deuteranopia (green-blind)
#473F13
Tritanopia (blue-blind)
#433E38
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e420f;
/* rgb */ color: rgb(62, 66, 15);
/* oklch */ color: oklch(36.4% 0.071 113.8);
Tailwind
colors: {
  custom: {
    50: '#757651',
    500: '#3e420f',
    950: '#000000',
  },
}
SCSS
$custom: #3e420f;
$custom-light: #757651;
$custom-dark: #000000;
JSON
{
  "hex": "#3e420f",
  "rgb": {
    "r": 62,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 64.706,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36406,
    "c": 0.07094,
    "h": 113.8
  },
  "luminance": 0.04955
}

Semantic roles & 50–950 ramp

primary
#3E420F
secondary
#36307C
accent
#42E64F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #3E420F

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

Preview Lab → · Contrast checker → · Palette generator →

#3E420F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva