#4A4E16#4A4E16

#4A4E16 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.8% C 0.077 H 113.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#4A4E16
RGBrgb(74, 78, 22)
HSLhsl(64, 56%, 20%)
HSVhsv(64, 72%, 31%)
CMYKcmyk(5.1%, 0%, 71.8%, 69.4%)
CIE-LABlab(31.72, -10.06, 31.30)
CIE-LCHlch(31.72, 32.88, 107.82°)
OKLaboklab(40.79% -0.0304 0.0707)
OKLCHoklch(40.79% 0.077 113.3)
XYZxyz(5.6934, 6.9627, 1.8029)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E16 #1A164E
analogous
#4E3616 #4A4E16 #2E4E16
triadic
#4A4E16 #164A4E #4E164A
tetradic
#4A4E16 #164E36 #1A164E #4E162E
square
#4A4E16 #164E36 #1A164E #4E162E
split-complementary
#4A4E16 #162E4E #36164E
monochromatic
#171807 #1D1E09 #4A4E16 #777E23 #A5AD31

Accessibility & contrast

On white

8.78
#4A4E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4A4E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4E16
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E16#FFFFFF#000000##FFFFFF
##4A4E161.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0E
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#4F4943
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a4e16;
/* rgb */ color: rgb(74, 78, 22);
/* oklch */ color: oklch(40.8% 0.077 113.3);
Tailwind
colors: {
  custom: {
    50: '#7e7f57',
    500: '#4a4e16',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e16;
$custom-light: #7e7f57;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e16",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 22
  },
  "hsl": {
    "h": 64.286,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40793,
    "c": 0.07695,
    "h": 113.3
  },
  "luminance": 0.06963
}

Semantic roles & 50–950 ramp

primary
#4A4E16
secondary
#403A85
accent
#49DF53
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A4E16

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

Preview Lab → · Contrast checker → · Palette generator →

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