#4C5412#4C5412

#4C5412 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.5% C 0.087 H 116.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#4C5412
RGBrgb(76, 84, 18)
HSLhsl(67, 65%, 20%)
HSVhsv(67, 79%, 33%)
CMYKcmyk(9.5%, 0%, 78.6%, 67.1%)
CIE-LABlab(33.82, -12.81, 35.22)
CIE-LCHlch(33.82, 37.47, 109.99°)
OKLaboklab(42.51% -0.0386 0.0781)
OKLCHoklch(42.51% 0.087 116.3)
XYZxyz(6.2602, 7.9209, 1.7713)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5412 #1A1254
analogous
#543B12 #4C5412 #2B5412
triadic
#4C5412 #124C54 #54124C
tetradic
#4C5412 #12543B #1A1254 #54122B
square
#4C5412 #12543B #1A1254 #54122B
split-complementary
#4C5412 #122B54 #3B1254
monochromatic
#171905 #1E2207 #4C5412 #7A861D #A7B928

Accessibility & contrast

On white

8.13
#4C5412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4C5412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5412
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5412#FFFFFF#000000##FFFFFF
##4C54121.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#514F47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c5412;
/* rgb */ color: rgb(76, 84, 18);
/* oklch */ color: oklch(42.5% 0.087 116.3);
Tailwind
colors: {
  custom: {
    50: '#808455',
    500: '#4c5412',
    950: '#000000',
  },
}
SCSS
$custom: #4c5412;
$custom-light: #808455;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5412",
  "rgb": {
    "r": 76,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 67.273,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.42507,
    "c": 0.08715,
    "h": 116.3
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#4C5412
secondary
#40358D
accent
#40E854
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C5412

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

Preview Lab → · Contrast checker → · Palette generator →

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