#4E4D03#4E4D03

#4E4D03 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.8% C 0.087 H 108.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#4E4D03
RGBrgb(78, 77, 3)
HSLhsl(59, 93%, 16%)
HSVhsv(59, 96%, 31%)
CMYKcmyk(0%, 1.3%, 96.2%, 69.4%)
CIE-LABlab(31.66, -8.43, 38.69)
CIE-LCHlch(31.66, 39.60, 102.29°)
OKLaboklab(40.79% -0.028 0.0821)
OKLCHoklch(40.79% 0.087 108.8)
XYZxyz(5.8124, 6.9342, 1.1184)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D03 #03044E
analogous
#4E2703 #4E4D03 #294E03
triadic
#4E4D03 #034E4D #4D034E
tetradic
#4E4D03 #034E27 #03044E #4E0329
square
#4E4D03 #034E27 #03044E #4E0329
split-complementary
#4E4D03 #03294E #27034E
monochromatic
#1D1D01 #1D1D01 #4E4D03 #898705 #C4C108

Accessibility & contrast

On white

8.80
#4E4D03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4E4D03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D03
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D03#FFFFFF#000000##FFFFFF
##4E4D031.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4d03;
/* rgb */ color: rgb(78, 77, 3);
/* oklch */ color: oklch(40.8% 0.087 108.8);
Tailwind
colors: {
  custom: {
    50: '#837e4d',
    500: '#4e4d03',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d03;
$custom-light: #837e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d03",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 3
  },
  "hsl": {
    "h": 59.2,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.40795,
    "c": 0.08675,
    "h": 108.8
  },
  "luminance": 0.06934
}

Semantic roles & 50–950 ramp

primary
#4E4D03
secondary
#1E208E
accent
#2CFF29
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E4D03

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

Preview Lab → · Contrast checker → · Palette generator →

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