#4A4D0F#4A4D0F

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

Color values

HEX#4A4D0F
RGBrgb(74, 77, 15)
HSLhsl(63, 67%, 18%)
HSVhsv(63, 81%, 30%)
CMYKcmyk(3.9%, 0%, 80.5%, 69.8%)
CIE-LABlab(31.34, -9.92, 33.99)
CIE-LCHlch(31.34, 35.41, 106.27°)
OKLaboklab(40.47% -0.0308 0.075)
OKLCHoklch(40.47% 0.081 112.3)
XYZxyz(5.5643, 6.7982, 1.4709)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4D0F #120F4D
analogous
#4D310F #4A4D0F #2B4D0F
triadic
#4A4D0F #0F4A4D #4D0F4A
tetradic
#4A4D0F #0F4D31 #120F4D #4D0F2B
square
#4A4D0F #0F4D31 #120F4D #4D0F2B
split-complementary
#4A4D0F #0F2B4D #310F4D
monochromatic
#191A05 #191A05 #4A4D0F #7B8019 #ACB323

Accessibility & contrast

On white

8.90
#4A4D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A4D0F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4D0F#FFFFFF#000000##FFFFFF
##4A4D0F1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a4d0f;
/* rgb */ color: rgb(74, 77, 15);
/* oklch */ color: oklch(40.5% 0.081 112.3);
Tailwind
colors: {
  custom: {
    50: '#7f7e53',
    500: '#4a4d0f',
    950: '#000000',
  },
}
SCSS
$custom: #4a4d0f;
$custom-light: #7f7e53;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4d0f",
  "rgb": {
    "r": 74,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 62.903,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.40473,
    "c": 0.08109,
    "h": 112.3
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#4A4D0F
secondary
#353187
accent
#3EEA46
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #4A4D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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