#3E420C#3E420C

#3E420C is a dark, moderate yellow. Relative luminance 0.049; OKLCH L 36.4% C 0.073 H 113.7°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#3E420C
RGBrgb(62, 66, 12)
HSLhsl(64, 69%, 15%)
HSVhsv(64, 82%, 26%)
CMYKcmyk(6.1%, 0%, 81.8%, 74.1%)
CIE-LABlab(26.58, -9.61, 30.29)
CIE-LCHlch(26.58, 31.78, 107.61°)
OKLaboklab(36.38% -0.0295 0.067)
OKLCHoklch(36.38% 0.073 113.7)
XYZxyz(4.0013, 4.9472, 1.0919)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E420C #100C42
analogous
#422B0C #3E420C #23420C
triadic
#3E420C #0C3E42 #420C3E
tetradic
#3E420C #0C422B #100C42 #420C23
square
#3E420C #0C422B #100C42 #420C23
split-complementary
#3E420C #0C2342 #2B0C42
monochromatic
#181A05 #181A05 #3E420C #6F7615 #9FAA1F

Accessibility & contrast

On white

10.56
#3E420C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E420C
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E420C#FFFFFF#000000##FFFFFF
##3E420C1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E03
Deuteranopia (green-blind)
#473F10
Tritanopia (blue-blind)
#433E38
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e420c;
/* rgb */ color: rgb(62, 66, 12);
/* oklch */ color: oklch(36.4% 0.073 113.7);
Tailwind
colors: {
  custom: {
    50: '#75764f',
    500: '#3e420c',
    950: '#000000',
  },
}
SCSS
$custom: #3e420c;
$custom-light: #75764f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e420c",
  "rgb": {
    "r": 62,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 64.444,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3638,
    "c": 0.07323,
    "h": 113.7
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#3E420C
secondary
#322C7E
accent
#3CEC49
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #3E420C

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

Preview Lab → · Contrast checker → · Palette generator →

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