#4D4A0D#4D4A0D

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

Color values

HEX#4D4A0D
RGBrgb(77, 74, 13)
HSLhsl(57, 71%, 18%)
HSVhsv(57, 83%, 30%)
CMYKcmyk(0%, 3.9%, 83.1%, 69.8%)
CIE-LABlab(30.65, -6.73, 34.23)
CIE-LCHlch(30.65, 34.89, 101.12°)
OKLaboklab(39.99% -0.0223 0.075)
OKLCHoklch(39.99% 0.078 106.5)
XYZxyz(5.5822, 6.5046, 1.3422)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4A0D #0D104D
analogous
#4D2A0D #4D4A0D #304D0D
triadic
#4D4A0D #0D4D4A #4A0D4D
tetradic
#4D4A0D #0D4D2A #0D104D #4D0D30
square
#4D4A0D #0D4D2A #0D104D #4D0D30
split-complementary
#4D4A0D #0D304D #2A0D4D
monochromatic
#1A1904 #1A1904 #4D4A0D #817C16 #B6AF1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D4A0D#FFFFFF#000000##FFFFFF
##4D4A0D1.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)
#514702
Deuteranopia (green-blind)
#524912
Tritanopia (blue-blind)
#53443E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d4a0d;
/* rgb */ color: rgb(77, 74, 13);
/* oklch */ color: oklch(40.0% 0.078 106.5);
Tailwind
colors: {
  custom: {
    50: '#817c51',
    500: '#4d4a0d',
    950: '#000000',
  },
}
SCSS
$custom: #4d4a0d;
$custom-light: #817c51;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4a0d",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 13
  },
  "hsl": {
    "h": 57.188,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.39986,
    "c": 0.0782,
    "h": 106.5
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

primary
#4D4A0D
secondary
#2E3288
accent
#42EE3A
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D4A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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