#4D4B0F#4D4B0F

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

Color values

HEX#4D4B0F
RGBrgb(77, 75, 15)
HSLhsl(58, 67%, 18%)
HSVhsv(58, 81%, 30%)
CMYKcmyk(0%, 2.6%, 80.5%, 69.8%)
CIE-LABlab(30.98, -7.23, 33.75)
CIE-LCHlch(30.98, 34.52, 102.09°)
OKLaboklab(40.26% -0.0234 0.0744)
OKLCHoklch(40.26% 0.078 107.5)
XYZxyz(5.6631, 6.6446, 1.4361)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4B0F #0F114D
analogous
#4D2C0F #4D4B0F #304D0F
triadic
#4D4B0F #0F4D4B #4B0F4D
tetradic
#4D4B0F #0F4D2C #0F114D #4D0F30
square
#4D4B0F #0F4D2C #0F114D #4D0F30
split-complementary
#4D4B0F #0F304D #2C0F4D
monochromatic
#1A1905 #1A1905 #4D4B0F #807D19 #B3AF23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D4B0F#FFFFFF#000000##FFFFFF
##4D4B0F1.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)
#524804
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#53463F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d4b0f;
/* rgb */ color: rgb(77, 75, 15);
/* oklch */ color: oklch(40.3% 0.078 107.5);
Tailwind
colors: {
  custom: {
    50: '#817d53',
    500: '#4d4b0f',
    950: '#000000',
  },
}
SCSS
$custom: #4d4b0f;
$custom-light: #817d53;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4b0f",
  "rgb": {
    "r": 77,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 58.065,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.40255,
    "c": 0.07799,
    "h": 107.5
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#4D4B0F
secondary
#313387
accent
#43EA3E
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4D4B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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