#4C4910#4C4910

#4C4910 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.7% C 0.075 H 106.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4C4910
RGBrgb(76, 73, 16)
HSLhsl(57, 65%, 18%)
HSVhsv(57, 79%, 30%)
CMYKcmyk(0%, 3.9%, 78.9%, 70.2%)
CIE-LABlab(30.25, -6.48, 32.60)
CIE-LCHlch(30.25, 33.24, 101.24°)
OKLaboklab(39.65% -0.0212 0.0722)
OKLCHoklch(39.65% 0.075 106.3)
XYZxyz(5.4568, 6.3392, 1.4263)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4910 #10134C
analogous
#4C2B10 #4C4910 #314C10
triadic
#4C4910 #104C49 #49104C
tetradic
#4C4910 #104C2B #10134C #4C1031
square
#4C4910 #104C2B #10134C #4C1031
split-complementary
#4C4910 #10314C #2B104C
monochromatic
#191805 #191805 #4C4910 #7F7A1B #B1AA25

Accessibility & contrast

On white

9.26
#4C4910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4910
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4910#FFFFFF#000000##FFFFFF
##4C49101.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504606
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#52443E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c4910;
/* rgb */ color: rgb(76, 73, 16);
/* oklch */ color: oklch(39.7% 0.075 106.3);
Tailwind
colors: {
  custom: {
    50: '#807b53',
    500: '#4c4910',
    950: '#000000',
  },
}
SCSS
$custom: #4c4910;
$custom-light: #807b53;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4910",
  "rgb": {
    "r": 76,
    "g": 73,
    "b": 16
  },
  "hsl": {
    "h": 57,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.39651,
    "c": 0.07524,
    "h": 106.3
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

primary
#4C4910
secondary
#323686
accent
#48E840
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4C4910

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

Preview Lab → · Contrast checker → · Palette generator →

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