#4E4707#4E4707

#4E4707 is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.3% C 0.079 H 102.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#4E4707
RGBrgb(78, 71, 7)
HSLhsl(54, 84%, 17%)
HSVhsv(54, 91%, 31%)
CMYKcmyk(0%, 9%, 91%, 69.4%)
CIE-LABlab(29.77, -4.66, 35.67)
CIE-LCHlch(29.77, 35.97, 97.44°)
OKLaboklab(39.3% -0.0171 0.0766)
OKLCHoklch(39.3% 0.079 102.6)
XYZxyz(5.4337, 6.1418, 1.1002)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4707 #070E4E
analogous
#4E2407 #4E4707 #324E07
triadic
#4E4707 #074E47 #47074E
tetradic
#4E4707 #074E24 #070E4E #4E0732
square
#4E4707 #074E24 #070E4E #4E0732
split-complementary
#4E4707 #07324E #24074E
monochromatic
#1C1A03 #1C1A03 #4E4707 #867A0C #BEAD11

Accessibility & contrast

On white

9.42
#4E4707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4E4707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4707
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4707#FFFFFF#000000##FFFFFF
##4E47071.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4400
Deuteranopia (green-blind)
#51470D
Tritanopia (blue-blind)
#55413C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e4707;
/* rgb */ color: rgb(78, 71, 7);
/* oklch */ color: oklch(39.3% 0.079 102.6);
Tailwind
colors: {
  custom: {
    50: '#83794e',
    500: '#4e4707',
    950: '#000000',
  },
}
SCSS
$custom: #4e4707;
$custom-light: #83794e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4707",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 7
  },
  "hsl": {
    "h": 54.085,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.39296,
    "c": 0.0785,
    "h": 102.6
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#4E4707
secondary
#252F8C
accent
#42FA2E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E4707

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

Preview Lab → · Contrast checker → · Palette generator →

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