#4E4A03#4E4A03

#4E4A03 is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 40.0% C 0.084 H 106.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#4E4A03
RGBrgb(78, 74, 3)
HSLhsl(57, 93%, 16%)
HSVhsv(57, 96%, 31%)
CMYKcmyk(0%, 5.1%, 96.2%, 69.4%)
CIE-LABlab(30.70, -6.64, 37.94)
CIE-LCHlch(30.70, 38.52, 99.92°)
OKLaboklab(40.03% -0.023 0.0804)
OKLCHoklch(40.03% 0.084 106)
XYZxyz(5.6074, 6.5241, 1.0500)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A03 #03074E
analogous
#4E2403 #4E4A03 #2C4E03
triadic
#4E4A03 #034E4A #4A034E
tetradic
#4E4A03 #034E24 #03074E #4E032C
square
#4E4A03 #034E24 #03074E #4E032C
split-complementary
#4E4A03 #032C4E #24034E
monochromatic
#1D1C01 #1D1C01 #4E4A03 #898205 #C4BA08

Accessibility & contrast

On white

9.11
#4E4A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4E4A03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A03
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A03#FFFFFF#000000##FFFFFF
##4E4A031.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#53490A
Tritanopia (blue-blind)
#55443E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4a03;
/* rgb */ color: rgb(78, 74, 3);
/* oklch */ color: oklch(40.0% 0.084 106.0);
Tailwind
colors: {
  custom: {
    50: '#837c4d',
    500: '#4e4a03',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a03;
$custom-light: #837c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a03",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 3
  },
  "hsl": {
    "h": 56.8,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.4003,
    "c": 0.08368,
    "h": 106
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#4E4A03
secondary
#1E248E
accent
#34FF29
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E4A03

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

Preview Lab → · Contrast checker → · Palette generator →

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