#4C4E0F#4C4E0F

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

Color values

HEX#4C4E0F
RGBrgb(76, 78, 15)
HSLhsl(62, 68%, 18%)
HSVhsv(62, 81%, 31%)
CMYKcmyk(2.6%, 0%, 80.8%, 69.4%)
CIE-LABlab(31.85, -9.51, 34.54)
CIE-LCHlch(31.85, 35.82, 105.39°)
OKLaboklab(40.93% -0.0298 0.0761)
OKLCHoklch(40.93% 0.082 111.4)
XYZxyz(5.7913, 7.0199, 1.5018)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E0F #110F4E
analogous
#4E300F #4C4E0F #2C4E0F
triadic
#4C4E0F #0F4C4E #4E0F4C
tetradic
#4C4E0F #0F4E30 #110F4E #4E0F2C
square
#4C4E0F #0F4E30 #110F4E #4E0F2C
split-complementary
#4C4E0F #0F2C4E #300F4E
monochromatic
#191A05 #1A1B05 #4C4E0F #7E8119 #B0B523

Accessibility & contrast

On white

8.74
#4C4E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4E0F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E0F#FFFFFF#000000##FFFFFF
##4C4E0F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A04
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#524942
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c4e0f;
/* rgb */ color: rgb(76, 78, 15);
/* oklch */ color: oklch(40.9% 0.082 111.4);
Tailwind
colors: {
  custom: {
    50: '#807f53',
    500: '#4c4e0f',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e0f;
$custom-light: #807f53;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e0f",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 61.905,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.40926,
    "c": 0.0817,
    "h": 111.4
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#4C4E0F
secondary
#333188
accent
#3DEB43
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C4E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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