#4C4E01#4C4E01

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

Color values

HEX#4C4E01
RGBrgb(76, 78, 1)
HSLhsl(62, 97%, 15%)
HSVhsv(62, 99%, 31%)
CMYKcmyk(2.6%, 0%, 98.7%, 69.4%)
CIE-LABlab(31.78, -10.11, 39.45)
CIE-LCHlch(31.78, 40.73, 104.37°)
OKLaboklab(40.84% -0.0327 0.0833)
OKLCHoklch(40.84% 0.09 111.5)
XYZxyz(5.7106, 6.9876, 1.0766)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E01 #03014E
analogous
#4E2901 #4C4E01 #264E01
triadic
#4C4E01 #014C4E #4E014C
tetradic
#4C4E01 #014E29 #03014E #4E0126
square
#4C4E01 #014E29 #03014E #4E0126
split-complementary
#4C4E01 #01264E #29014E
monochromatic
#1D1E00 #1D1E00 #4C4E01 #878A02 #C2C703

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C4E01#FFFFFF#000000##FFFFFF
##4C4E011.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)
#564C09
Tritanopia (blue-blind)
#524841
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c4e01;
/* rgb */ color: rgb(76, 78, 1);
/* oklch */ color: oklch(40.8% 0.089 111.5);
Tailwind
colors: {
  custom: {
    50: '#817f4d',
    500: '#4c4e01',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e01;
$custom-light: #817f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e01",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 1
  },
  "hsl": {
    "h": 61.558,
    "s": 97.468,
    "l": 15.49
  },
  "oklch": {
    "l": 0.40843,
    "c": 0.0895,
    "h": 111.5
  },
  "luminance": 0.06987
}

Semantic roles & 50–950 ramp

primary
#4C4E01
secondary
#1E1B90
accent
#29FF2E
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4C4E01

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

Preview Lab → · Contrast checker → · Palette generator →

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