#4A4D0B#4A4D0B

#4A4D0B is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.4% C 0.084 H 112.3°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#4A4D0B
RGBrgb(74, 77, 11)
HSLhsl(63, 75%, 17%)
HSVhsv(63, 86%, 30%)
CMYKcmyk(3.9%, 0%, 85.7%, 69.8%)
CIE-LABlab(31.32, -10.12, 35.47)
CIE-LCHlch(31.32, 36.88, 105.92°)
OKLaboklab(40.45% -0.0317 0.0773)
OKLCHoklch(40.45% 0.084 112.3)
XYZxyz(5.5385, 6.7879, 1.3350)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4D0B #0E0B4D
analogous
#4D2F0B #4A4D0B #294D0B
triadic
#4A4D0B #0B4A4D #4D0B4A
tetradic
#4A4D0B #0B4D2F #0E0B4D #4D0B29
square
#4A4D0B #0B4D2F #0E0B4D #4D0B29
split-complementary
#4A4D0B #0B294D #2F0B4D
monochromatic
#1A1B04 #1A1B04 #4A4D0B #7D8313 #B1B81A

Accessibility & contrast

On white

8.91
#4A4D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4A4D0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4D0B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4D0B#FFFFFF#000000##FFFFFF
##4A4D0B1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544900
Deuteranopia (green-blind)
#544A11
Tritanopia (blue-blind)
#504841
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4a4d0b;
/* rgb */ color: rgb(74, 77, 11);
/* oklch */ color: oklch(40.4% 0.084 112.3);
Tailwind
colors: {
  custom: {
    50: '#7f7e51',
    500: '#4a4d0b',
    950: '#000000',
  },
}
SCSS
$custom: #4a4d0b;
$custom-light: #7f7e51;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4d0b",
  "rgb": {
    "r": 74,
    "g": 77,
    "b": 11
  },
  "hsl": {
    "h": 62.727,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.40446,
    "c": 0.08356,
    "h": 112.3
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#4A4D0B
secondary
#2F2B89
accent
#36F23F
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0A0902
muted
#7C7B78

Preview Lab

Preview with #4A4D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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