#4E4C03#4E4C03

#4E4C03 is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.5% C 0.086 H 107.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4E4C03
RGBrgb(78, 76, 3)
HSLhsl(58, 93%, 16%)
HSVhsv(58, 96%, 31%)
CMYKcmyk(0%, 2.6%, 96.2%, 69.4%)
CIE-LABlab(31.34, -7.83, 38.44)
CIE-LCHlch(31.34, 39.23, 101.52°)
OKLaboklab(40.54% -0.0264 0.0816)
OKLCHoklch(40.54% 0.086 107.9)
XYZxyz(5.7430, 6.7954, 1.0953)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C03 #03054E
analogous
#4E2603 #4E4C03 #2A4E03
triadic
#4E4C03 #034E4C #4C034E
tetradic
#4E4C03 #034E26 #03054E #4E032A
square
#4E4C03 #034E26 #03054E #4E032A
split-complementary
#4E4C03 #032A4E #26034E
monochromatic
#1D1D01 #1D1D01 #4E4C03 #898505 #C4BF08

Accessibility & contrast

On white

8.90
#4E4C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E4C03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C03
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C03#FFFFFF#000000##FFFFFF
##4E4C031.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534800
Deuteranopia (green-blind)
#554B0A
Tritanopia (blue-blind)
#554640
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4c03;
/* rgb */ color: rgb(78, 76, 3);
/* oklch */ color: oklch(40.5% 0.086 107.9);
Tailwind
colors: {
  custom: {
    50: '#837d4d',
    500: '#4e4c03',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c03;
$custom-light: #837d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c03",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 3
  },
  "hsl": {
    "h": 58.4,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.4054,
    "c": 0.0857,
    "h": 107.9
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#4E4C03
secondary
#1E218E
accent
#2FFF29
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E4C03

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

Preview Lab → · Contrast checker → · Palette generator →

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