#4E4207#4E4207

#4E4207 is a dark, moderate yellow. Relative luminance 0.055; OKLCH L 38.1% C 0.074 H 96.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#4E4207
RGBrgb(78, 66, 7)
HSLhsl(50, 84%, 17%)
HSVhsv(50, 91%, 31%)
CMYKcmyk(0%, 15.4%, 91%, 69.4%)
CIE-LABlab(28.20, -1.57, 34.34)
CIE-LCHlch(28.20, 34.38, 92.62°)
OKLaboklab(38.05% -0.0084 0.0737)
OKLCHoklch(38.05% 0.074 96.5)
XYZxyz(5.1287, 5.5318, 0.9986)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4207 #07134E
analogous
#4E1F07 #4E4207 #374E07
triadic
#4E4207 #074E42 #42074E
tetradic
#4E4207 #074E1F #07134E #4E0737
square
#4E4207 #074E1F #07134E #4E0737
split-complementary
#4E4207 #07374E #1F074E
monochromatic
#1C1803 #1C1803 #4E4207 #86720C #BEA111

Accessibility & contrast

On white

9.97
#4E4207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E4207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4207
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4207#FFFFFF#000000##FFFFFF
##4E42071.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#4D440B
Tritanopia (blue-blind)
#553C37
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e4207;
/* rgb */ color: rgb(78, 66, 7);
/* oklch */ color: oklch(38.1% 0.074 96.5);
Tailwind
colors: {
  custom: {
    50: '#83764d',
    500: '#4e4207',
    950: '#000000',
  },
}
SCSS
$custom: #4e4207;
$custom-light: #83764d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4207",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 7
  },
  "hsl": {
    "h": 49.859,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.38052,
    "c": 0.07419,
    "h": 96.5
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#4E4207
secondary
#25368C
accent
#50FA2E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4E4207

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

Preview Lab → · Contrast checker → · Palette generator →

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