#4D4A0C#4D4A0C

#4D4A0C is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 40.0% C 0.079 H 106.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#4D4A0C
RGBrgb(77, 74, 12)
HSLhsl(57, 73%, 17%)
HSVhsv(57, 84%, 30%)
CMYKcmyk(0%, 3.9%, 84.4%, 69.8%)
CIE-LABlab(30.65, -6.78, 34.61)
CIE-LCHlch(30.65, 35.26, 101.08°)
OKLaboklab(39.98% -0.0225 0.0756)
OKLCHoklch(39.98% 0.079 106.6)
XYZxyz(5.5759, 6.5021, 1.3091)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4A0C #0C0F4D
analogous
#4D2A0C #4D4A0C #2F4D0C
triadic
#4D4A0C #0C4D4A #4A0C4D
tetradic
#4D4A0C #0C4D2A #0C0F4D #4D0C2F
square
#4D4A0C #0C4D2A #0C0F4D #4D0C2F
split-complementary
#4D4A0C #0C2F4D #2A0C4D
monochromatic
#1A1904 #1A1904 #4D4A0C #827D14 #B7B01D

Accessibility & contrast

On white

9.13
#4D4A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4D4A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4A0C
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4A0C#FFFFFF#000000##FFFFFF
##4D4A0C1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514701
Deuteranopia (green-blind)
#524911
Tritanopia (blue-blind)
#53443E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d4a0c;
/* rgb */ color: rgb(77, 74, 12);
/* oklch */ color: oklch(40.0% 0.079 106.6);
Tailwind
colors: {
  custom: {
    50: '#817c51',
    500: '#4d4a0c',
    950: '#000000',
  },
}
SCSS
$custom: #4d4a0c;
$custom-light: #817c51;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4a0c",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 12
  },
  "hsl": {
    "h": 57.231,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.39979,
    "c": 0.07883,
    "h": 106.6
  },
  "luminance": 0.06502
}

Semantic roles & 50–950 ramp

primary
#4D4A0C
secondary
#2C3089
accent
#41F038
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D4A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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