#4D4A0F#4D4A0F

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

Color values

HEX#4D4A0F
RGBrgb(77, 74, 15)
HSLhsl(57, 67%, 18%)
HSVhsv(57, 81%, 30%)
CMYKcmyk(0%, 3.9%, 80.5%, 69.8%)
CIE-LABlab(30.66, -6.63, 33.45)
CIE-LCHlch(30.66, 34.10, 101.21°)
OKLaboklab(40% -0.0218 0.0737)
OKLCHoklch(40% 0.077 106.4)
XYZxyz(5.5958, 6.5100, 1.4136)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4A0F #0F124D
analogous
#4D2B0F #4D4A0F #314D0F
triadic
#4D4A0F #0F4D4A #4A0F4D
tetradic
#4D4A0F #0F4D2B #0F124D #4D0F31
square
#4D4A0F #0F4D2B #0F124D #4D0F31
split-complementary
#4D4A0F #0F314D #2B0F4D
monochromatic
#1A1905 #1A1905 #4D4A0F #807B19 #B3AC23

Accessibility & contrast

On white

9.12
#4D4A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D4A0F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4A0F#FFFFFF#000000##FFFFFF
##4D4A0F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514705
Deuteranopia (green-blind)
#524913
Tritanopia (blue-blind)
#53443F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d4a0f;
/* rgb */ color: rgb(77, 74, 15);
/* oklch */ color: oklch(40.0% 0.077 106.4);
Tailwind
colors: {
  custom: {
    50: '#817c52',
    500: '#4d4a0f',
    950: '#000000',
  },
}
SCSS
$custom: #4d4a0f;
$custom-light: #817c52;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4a0f",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 57.097,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.40001,
    "c": 0.07688,
    "h": 106.4
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#4D4A0F
secondary
#313587
accent
#46EA3E
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D4A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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