#4A5013#4A5013

#4A5013 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.3% C 0.082 H 114.9°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4A5013
RGBrgb(74, 80, 19)
HSLhsl(66, 62%, 19%)
HSVhsv(66, 76%, 31%)
CMYKcmyk(7.5%, 0%, 76.3%, 68.6%)
CIE-LABlab(32.35, -11.43, 33.30)
CIE-LCHlch(32.35, 35.21, 108.94°)
OKLaboklab(41.29% -0.0345 0.0744)
OKLCHoklch(41.29% 0.082 114.9)
XYZxyz(5.8104, 7.2403, 1.7074)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5013 #191350
analogous
#503813 #4A5013 #2C5013
triadic
#4A5013 #134A50 #50134A
tetradic
#4A5013 #135038 #191350 #50132C
square
#4A5013 #135038 #191350 #50132C
split-complementary
#4A5013 #132C50 #381350
monochromatic
#171906 #1C1F07 #4A5013 #78811F #A5B32A

Accessibility & contrast

On white

8.58
#4A5013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4A5013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5013
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5013#FFFFFF#000000##FFFFFF
##4A50131.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C09
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#4F4B44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a5013;
/* rgb */ color: rgb(74, 80, 19);
/* oklch */ color: oklch(41.3% 0.082 114.9);
Tailwind
colors: {
  custom: {
    50: '#7f8155',
    500: '#4a5013',
    950: '#000000',
  },
}
SCSS
$custom: #4a5013;
$custom-light: #7f8155;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5013",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 65.902,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41287,
    "c": 0.08198,
    "h": 114.9
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#4A5013
secondary
#3E3689
accent
#43E553
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A5013

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

Preview Lab → · Contrast checker → · Palette generator →

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