#4E3F12#4E3F12

#4E3F12 is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.4% C 0.065 H 90.2°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#4E3F12
RGBrgb(78, 63, 18)
HSLhsl(45, 63%, 19%)
HSVhsv(45, 77%, 31%)
CMYKcmyk(0%, 19.2%, 76.9%, 69.4%)
CIE-LABlab(27.35, 0.86, 28.86)
CIE-LCHlch(27.35, 28.87, 88.30°)
OKLaboklab(37.41% -0.0002 0.0646)
OKLCHoklch(37.41% 0.065 90.2)
XYZxyz(5.0288, 5.2187, 1.3146)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3F12 #12214E
analogous
#4E2112 #4E3F12 #3F4E12
triadic
#4E3F12 #124E3F #3F124E
tetradic
#4E3F12 #124E21 #12214E #4E123F
square
#4E3F12 #124E21 #12214E #4E123F
split-complementary
#4E3F12 #123F4E #21124E
monochromatic
#191406 #1C1707 #4E3F12 #80671D #B18F29

Accessibility & contrast

On white

10.28
#4E3F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4E3F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3F12
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3F12#FFFFFF#000000##FFFFFF
##4E3F121.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0C
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#553936
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e3f12;
/* rgb */ color: rgb(78, 63, 18);
/* oklch */ color: oklch(37.4% 0.065 90.2);
Tailwind
colors: {
  custom: {
    50: '#827353',
    500: '#4e3f12',
    950: '#000000',
  },
}
SCSS
$custom: #4e3f12;
$custom-light: #827353;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3f12",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 18
  },
  "hsl": {
    "h": 45,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37405,
    "c": 0.06463,
    "h": 90.2
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#4E3F12
secondary
#354987
accent
#6BE642
background
#F8F6F4
surface
#EFECE7
border
#CAC7C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4E3F12

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

Preview Lab → · Contrast checker → · Palette generator →

#4E3F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva