#4C4918#4C4918

#4C4918 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.7% C 0.069 H 105.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#4C4918
RGBrgb(76, 73, 24)
HSLhsl(57, 52%, 20%)
HSVhsv(57, 68%, 30%)
CMYKcmyk(0%, 3.9%, 68.4%, 70.2%)
CIE-LABlab(30.32, -5.94, 28.90)
CIE-LCHlch(30.32, 29.50, 101.61°)
OKLaboklab(39.73% -0.0186 0.0659)
OKLCHoklch(39.73% 0.069 105.8)
XYZxyz(5.5281, 6.3677, 1.8019)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4918 #181B4C
analogous
#4C2F18 #4C4918 #354C18
triadic
#4C4918 #184C49 #49184C
tetradic
#4C4918 #184C2F #181B4C #4C1835
square
#4C4918 #184C2F #181B4C #4C1835
split-complementary
#4C4918 #18354C #2F184C
monochromatic
#171607 #1D1C09 #4C4918 #7B7627 #A9A235

Accessibility & contrast

On white

9.24
#4C4918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4C4918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4918
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4918#FFFFFF#000000##FFFFFF
##4C49181.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504612
Deuteranopia (green-blind)
#51481B
Tritanopia (blue-blind)
#52443F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c4918;
/* rgb */ color: rgb(76, 73, 24);
/* oklch */ color: oklch(39.7% 0.069 105.8);
Tailwind
colors: {
  custom: {
    50: '#807b57',
    500: '#4c4918',
    950: '#000000',
  },
}
SCSS
$custom: #4c4918;
$custom-light: #807b57;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4918",
  "rgb": {
    "r": 76,
    "g": 73,
    "b": 24
  },
  "hsl": {
    "h": 56.538,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39728,
    "c": 0.0685,
    "h": 105.8
  },
  "luminance": 0.06368
}

Semantic roles & 50–950 ramp

primary
#4C4918
secondary
#3D4183
accent
#55DB4C
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4C4918

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

Preview Lab → · Contrast checker → · Palette generator →

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