#4C4E03#4C4E03

#4C4E03 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.9% C 0.088 H 111.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4C4E03
RGBrgb(76, 78, 3)
HSLhsl(62, 93%, 16%)
HSVhsv(62, 96%, 31%)
CMYKcmyk(2.6%, 0%, 96.2%, 69.4%)
CIE-LABlab(31.79, -10.03, 38.71)
CIE-LCHlch(31.79, 39.99, 104.52°)
OKLaboklab(40.86% -0.0323 0.0823)
OKLCHoklch(40.86% 0.088 111.4)
XYZxyz(5.7215, 6.9920, 1.1343)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E03 #05034E
analogous
#4E2A03 #4C4E03 #264E03
triadic
#4C4E03 #034C4E #4E034C
tetradic
#4C4E03 #034E2A #05034E #4E0326
square
#4C4E03 #034E2A #05034E #4E0326
split-complementary
#4C4E03 #03264E #2A034E
monochromatic
#1D1D01 #1D1D01 #4C4E03 #858905 #BFC408

Accessibility & contrast

On white

8.76
#4C4E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4C4E03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E03
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E03#FFFFFF#000000##FFFFFF
##4C4E031.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#554C0B
Tritanopia (blue-blind)
#524841
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c4e03;
/* rgb */ color: rgb(76, 78, 3);
/* oklch */ color: oklch(40.9% 0.088 111.4);
Tailwind
colors: {
  custom: {
    50: '#817f4e',
    500: '#4c4e03',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e03;
$custom-light: #817f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e03",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 3
  },
  "hsl": {
    "h": 61.6,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.40855,
    "c": 0.08841,
    "h": 111.4
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#4C4E03
secondary
#211E8E
accent
#29FF2F
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4C4E03

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

Preview Lab → · Contrast checker → · Palette generator →

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