#4E4312#4E4312

#4E4312 is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.4% C 0.068 H 96.3°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4E4312
RGBrgb(78, 67, 18)
HSLhsl(49, 63%, 19%)
HSVhsv(49, 77%, 31%)
CMYKcmyk(0%, 14.1%, 76.9%, 69.4%)
CIE-LABlab(28.59, -1.66, 30.12)
CIE-LCHlch(28.59, 30.16, 93.15°)
OKLaboklab(38.38% -0.0074 0.0673)
OKLCHoklch(38.38% 0.068 96.3)
XYZxyz(5.2585, 5.6780, 1.3911)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4312 #121D4E
analogous
#4E2512 #4E4312 #3B4E12
triadic
#4E4312 #124E43 #43124E
tetradic
#4E4312 #124E25 #121D4E #4E123B
square
#4E4312 #124E25 #121D4E #4E123B
split-complementary
#4E4312 #123B4E #25124E
monochromatic
#191506 #1C1807 #4E4312 #806E1D #B19829

Accessibility & contrast

On white

9.83
#4E4312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4E4312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4312
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4312#FFFFFF#000000##FFFFFF
##4E43121.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B410B
Deuteranopia (green-blind)
#4D4515
Tritanopia (blue-blind)
#553D39
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e4312;
/* rgb */ color: rgb(78, 67, 18);
/* oklch */ color: oklch(38.4% 0.068 96.3);
Tailwind
colors: {
  custom: {
    50: '#827653',
    500: '#4e4312',
    950: '#000000',
  },
}
SCSS
$custom: #4e4312;
$custom-light: #827653;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4312",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 18
  },
  "hsl": {
    "h": 49,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38381,
    "c": 0.06769,
    "h": 96.3
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#4E4312
secondary
#354487
accent
#60E642
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4E4312

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

Preview Lab → · Contrast checker → · Palette generator →

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