#4E4807#4E4807

#4E4807 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.5% C 0.079 H 103.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#4E4807
RGBrgb(78, 72, 7)
HSLhsl(55, 84%, 17%)
HSVhsv(55, 91%, 31%)
CMYKcmyk(0%, 7.7%, 91%, 69.4%)
CIE-LABlab(30.08, -5.27, 35.94)
CIE-LCHlch(30.08, 36.32, 98.34°)
OKLaboklab(39.55% -0.0188 0.0772)
OKLCHoklch(39.55% 0.079 103.7)
XYZxyz(5.4979, 6.2700, 1.1216)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4807 #070D4E
analogous
#4E2507 #4E4807 #314E07
triadic
#4E4807 #074E48 #48074E
tetradic
#4E4807 #074E25 #070D4E #4E0731
square
#4E4807 #074E25 #070D4E #4E0731
split-complementary
#4E4807 #07314E #25074E
monochromatic
#1C1A03 #1C1A03 #4E4807 #867C0C #BEB011

Accessibility & contrast

On white

9.32
#4E4807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4E4807 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4807
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4807#FFFFFF#000000##FFFFFF
##4E48071.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504500
Deuteranopia (green-blind)
#51480D
Tritanopia (blue-blind)
#55423C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4807;
/* rgb */ color: rgb(78, 72, 7);
/* oklch */ color: oklch(39.5% 0.079 103.7);
Tailwind
colors: {
  custom: {
    50: '#837a4e',
    500: '#4e4807',
    950: '#000000',
  },
}
SCSS
$custom: #4e4807;
$custom-light: #837a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4807",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 7
  },
  "hsl": {
    "h": 54.93,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.39548,
    "c": 0.07945,
    "h": 103.7
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#4E4807
secondary
#252D8C
accent
#3FFA2E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E4807

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

Preview Lab → · Contrast checker → · Palette generator →

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