#4A4D16#4A4D16

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

Color values

HEX#4A4D16
RGBrgb(74, 77, 22)
HSLhsl(63, 56%, 19%)
HSVhsv(63, 71%, 30%)
CMYKcmyk(3.9%, 0%, 71.4%, 69.8%)
CIE-LABlab(31.40, -9.47, 30.97)
CIE-LCHlch(31.40, 32.38, 107.01°)
OKLaboklab(40.53% -0.0287 0.07)
OKLCHoklch(40.53% 0.076 112.3)
XYZxyz(5.6229, 6.8217, 1.7794)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4D16 #19164D
analogous
#4D3516 #4A4D16 #2F4D16
triadic
#4A4D16 #164A4D #4D164A
tetradic
#4A4D16 #164D35 #19164D #4D162F
square
#4A4D16 #164D35 #19164D #4D162F
split-complementary
#4A4D16 #162F4D #35164D
monochromatic
#171807 #1C1D08 #4A4D16 #787D24 #A5AC31

Accessibility & contrast

On white

8.88
#4A4D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A4D16
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4D16#FFFFFF#000000##FFFFFF
##4A4D161.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490F
Deuteranopia (green-blind)
#534B1A
Tritanopia (blue-blind)
#4F4842
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4a4d16;
/* rgb */ color: rgb(74, 77, 22);
/* oklch */ color: oklch(40.5% 0.076 112.3);
Tailwind
colors: {
  custom: {
    50: '#7e7e57',
    500: '#4a4d16',
    950: '#000000',
  },
}
SCSS
$custom: #4a4d16;
$custom-light: #7e7e57;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4d16",
  "rgb": {
    "r": 74,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 63.273,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40533,
    "c": 0.07566,
    "h": 112.3
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#4A4D16
secondary
#3E3A85
accent
#49DF51
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A4D16

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

Preview Lab → · Contrast checker → · Palette generator →

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