#4C4E07#4C4E07

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

Color values

HEX#4C4E07
RGBrgb(76, 78, 7)
HSLhsl(62, 84%, 17%)
HSVhsv(62, 91%, 31%)
CMYKcmyk(2.6%, 0%, 91%, 69.4%)
CIE-LABlab(31.81, -9.87, 37.31)
CIE-LCHlch(31.81, 38.60, 104.81°)
OKLaboklab(40.88% -0.0315 0.0803)
OKLCHoklch(40.88% 0.086 111.4)
XYZxyz(5.7434, 7.0008, 1.2497)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E07 #09074E
analogous
#4E2D07 #4C4E07 #294E07
triadic
#4C4E07 #074C4E #4E074C
tetradic
#4C4E07 #074E2D #09074E #4E0729
square
#4C4E07 #074E2D #09074E #4E0729
split-complementary
#4C4E07 #07294E #2D074E
monochromatic
#1B1C03 #1B1C03 #4C4E07 #83860C #B9BE11

Accessibility & contrast

On white

8.75
#4C4E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4E07
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E07#FFFFFF#000000##FFFFFF
##4C4E071.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4e07;
/* rgb */ color: rgb(76, 78, 7);
/* oklch */ color: oklch(40.9% 0.086 111.4);
Tailwind
colors: {
  custom: {
    50: '#817f4f',
    500: '#4c4e07',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e07;
$custom-light: #817f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e07",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 61.69,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.40877,
    "c": 0.08625,
    "h": 111.4
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#4C4E07
secondary
#28258C
accent
#2EFA34
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4C4E07

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

Preview Lab → · Contrast checker → · Palette generator →

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