#4A4F0D#4A4F0D

#4A4F0D is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.0% C 0.085 H 114.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#4A4F0D
RGBrgb(74, 79, 13)
HSLhsl(65, 72%, 18%)
HSVhsv(65, 84%, 31%)
CMYKcmyk(6.3%, 0%, 83.5%, 69%)
CIE-LABlab(31.98, -11.19, 35.36)
CIE-LCHlch(31.98, 37.08, 107.56°)
OKLaboklab(40.98% -0.0345 0.0775)
OKLCHoklch(40.98% 0.085 114)
XYZxyz(5.6928, 7.0770, 1.4468)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4F0D #120D4F
analogous
#4F330D #4A4F0D #294F0D
triadic
#4A4F0D #0D4A4F #4F0D4A
tetradic
#4A4F0D #0D4F33 #120D4F #4F0D29
square
#4A4F0D #0D4F33 #120D4F #4F0D29
split-complementary
#4A4F0D #0D294F #330D4F
monochromatic
#191A04 #191A04 #4A4F0D #7B8416 #ACB81E

Accessibility & contrast

On white

8.69
#4A4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4A4F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4F0D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4F0D#FFFFFF#000000##FFFFFF
##4A4F0D1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B01
Deuteranopia (green-blind)
#554C13
Tritanopia (blue-blind)
#504A43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a4f0d;
/* rgb */ color: rgb(74, 79, 13);
/* oklch */ color: oklch(41.0% 0.085 114.0);
Tailwind
colors: {
  custom: {
    50: '#7f8052',
    500: '#4a4f0d',
    950: '#000000',
  },
}
SCSS
$custom: #4a4f0d;
$custom-light: #7f8052;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4f0d",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 64.545,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.4098,
    "c": 0.08482,
    "h": 114
  },
  "luminance": 0.07077
}

Semantic roles & 50–950 ramp

primary
#4A4F0D
secondary
#352E8A
accent
#39EE47
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #4A4F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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