#4D4B0C#4D4B0C

#4D4B0C is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.2% C 0.080 H 107.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#4D4B0C
RGBrgb(77, 75, 12)
HSLhsl(58, 73%, 17%)
HSVhsv(58, 84%, 30%)
CMYKcmyk(0%, 2.6%, 84.4%, 69.8%)
CIE-LABlab(30.97, -7.38, 34.90)
CIE-LCHlch(30.97, 35.67, 101.94°)
OKLaboklab(40.23% -0.0242 0.0762)
OKLCHoklch(40.23% 0.08 107.6)
XYZxyz(5.6432, 6.6367, 1.3315)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4B0C #0C0E4D
analogous
#4D2B0C #4D4B0C #2E4D0C
triadic
#4D4B0C #0C4D4B #4B0C4D
tetradic
#4D4B0C #0C4D2B #0C0E4D #4D0C2E
square
#4D4B0C #0C4D2B #0C0E4D #4D0C2E
split-complementary
#4D4B0C #0C2E4D #2B0C4D
monochromatic
#1A1A04 #1A1A04 #4D4B0C #827F14 #B7B21D

Accessibility & contrast

On white

9.02
#4D4B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4D4B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4B0C
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4B0C#FFFFFF#000000##FFFFFF
##4D4B0C1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524801
Deuteranopia (green-blind)
#534A11
Tritanopia (blue-blind)
#53453F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d4b0c;
/* rgb */ color: rgb(77, 75, 12);
/* oklch */ color: oklch(40.2% 0.080 107.6);
Tailwind
colors: {
  custom: {
    50: '#817d51',
    500: '#4d4b0c',
    950: '#000000',
  },
}
SCSS
$custom: #4d4b0c;
$custom-light: #817d51;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4b0c",
  "rgb": {
    "r": 77,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 58.154,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.40234,
    "c": 0.07991,
    "h": 107.6
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#4D4B0C
secondary
#2C2F89
accent
#3EF038
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D4B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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