#4A4F11#4A4F11

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

Color values

HEX#4A4F11
RGBrgb(74, 79, 17)
HSLhsl(65, 65%, 19%)
HSVhsv(65, 78%, 31%)
CMYKcmyk(6.3%, 0%, 78.5%, 69%)
CIE-LABlab(32.01, -10.97, 33.81)
CIE-LCHlch(32.01, 35.55, 107.98°)
OKLaboklab(41.01% -0.0335 0.0751)
OKLCHoklch(41.01% 0.082 114)
XYZxyz(5.7214, 7.0884, 1.5970)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4F11 #16114F
analogous
#4F3511 #4A4F11 #2B4F11
triadic
#4A4F11 #114A4F #4F114A
tetradic
#4A4F11 #114F35 #16114F #4F112B
square
#4A4F11 #114F35 #16114F #4F112B
split-complementary
#4A4F11 #112B4F #35114F
monochromatic
#181905 #1B1D06 #4A4F11 #79811C #A8B427

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A4F11#FFFFFF#000000##FFFFFF
##4A4F111.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)
#554B06
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#4F4A43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a4f11;
/* rgb */ color: rgb(74, 79, 17);
/* oklch */ color: oklch(41.0% 0.082 114.0);
Tailwind
colors: {
  custom: {
    50: '#7f8054',
    500: '#4a4f11',
    950: '#000000',
  },
}
SCSS
$custom: #4a4f11;
$custom-light: #7f8054;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4f11",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 64.839,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41009,
    "c": 0.08218,
    "h": 114
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#4A4F11
secondary
#3A3388
accent
#40E84E
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A4F11

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

Preview Lab → · Contrast checker → · Palette generator →

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