#4C4914#4C4914

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

Color values

HEX#4C4914
RGBrgb(76, 73, 20)
HSLhsl(57, 58%, 19%)
HSVhsv(57, 74%, 30%)
CMYKcmyk(0%, 3.9%, 73.7%, 70.2%)
CIE-LABlab(30.28, -6.23, 30.83)
CIE-LCHlch(30.28, 31.45, 101.43°)
OKLaboklab(39.69% -0.02 0.0693)
OKLCHoklch(39.69% 0.072 106.1)
XYZxyz(5.4895, 6.3523, 1.5986)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4914 #14174C
analogous
#4C2D14 #4C4914 #334C14
triadic
#4C4914 #144C49 #49144C
tetradic
#4C4914 #144C2D #14174C #4C1433
square
#4C4914 #144C2D #14174C #4C1433
split-complementary
#4C4914 #14334C #2D144C
monochromatic
#181706 #1C1A07 #4C4914 #7C7821 #ADA62E

Accessibility & contrast

On white

9.25
#4C4914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4914
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4914#FFFFFF#000000##FFFFFF
##4C49141.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460D
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#52443E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4c4914;
/* rgb */ color: rgb(76, 73, 20);
/* oklch */ color: oklch(39.7% 0.072 106.1);
Tailwind
colors: {
  custom: {
    50: '#807b55',
    500: '#4c4914',
    950: '#000000',
  },
}
SCSS
$custom: #4c4914;
$custom-light: #807b55;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4914",
  "rgb": {
    "r": 76,
    "g": 73,
    "b": 20
  },
  "hsl": {
    "h": 56.786,
    "s": 58.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39686,
    "c": 0.07209,
    "h": 106.1
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

primary
#4C4914
secondary
#383C84
accent
#4FE246
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4C4914

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

Preview Lab → · Contrast checker → · Palette generator →

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