#4D5412#4D5412

#4D5412 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.6% C 0.087 H 115.5°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4D5412
RGBrgb(77, 84, 18)
HSLhsl(66, 65%, 20%)
HSVhsv(66, 79%, 33%)
CMYKcmyk(8.3%, 0%, 78.6%, 67.1%)
CIE-LABlab(33.90, -12.32, 35.33)
CIE-LCHlch(33.90, 37.42, 109.23°)
OKLaboklab(42.6% -0.0373 0.0783)
OKLCHoklch(42.6% 0.087 115.5)
XYZxyz(6.3402, 7.9622, 1.7750)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5412 #191254
analogous
#543A12 #4D5412 #2C5412
triadic
#4D5412 #124D54 #54124D
tetradic
#4D5412 #12543A #191254 #54122C
square
#4D5412 #12543A #191254 #54122C
split-complementary
#4D5412 #122C54 #3A1254
monochromatic
#171905 #1F2207 #4D5412 #7B861D #A9B928

Accessibility & contrast

On white

8.10
#4D5412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4D5412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5412
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5412#FFFFFF#000000##FFFFFF
##4D54121.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d5412;
/* rgb */ color: rgb(77, 84, 18);
/* oklch */ color: oklch(42.6% 0.087 115.5);
Tailwind
colors: {
  custom: {
    50: '#818455',
    500: '#4d5412',
    950: '#000000',
  },
}
SCSS
$custom: #4d5412;
$custom-light: #818455;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5412",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 66.364,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.42598,
    "c": 0.08677,
    "h": 115.5
  },
  "luminance": 0.07962
}

Semantic roles & 50–950 ramp

primary
#4D5412
secondary
#3E358D
accent
#40E852
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4D5412

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

Preview Lab → · Contrast checker → · Palette generator →

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