#4A520E#4A520E

#4A520E is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.088 H 116.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4A520E
RGBrgb(74, 82, 14)
HSLhsl(67, 71%, 19%)
HSVhsv(67, 83%, 32%)
CMYKcmyk(9.8%, 0%, 82.9%, 67.8%)
CIE-LABlab(32.97, -12.86, 35.90)
CIE-LCHlch(32.97, 38.13, 109.71°)
OKLaboklab(41.77% -0.039 0.0788)
OKLCHoklch(41.77% 0.088 116.3)
XYZxyz(5.9208, 7.5222, 1.5554)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A520E #160E52
analogous
#52380E #4A520E #28520E
triadic
#4A520E #0E4A52 #520E4A
tetradic
#4A520E #0E5238 #160E52 #520E28
square
#4A520E #0E5238 #160E52 #520E28
split-complementary
#4A520E #0E2852 #380E52
monochromatic
#181A04 #1B1E05 #4A520E #798617 #A8BB20

Accessibility & contrast

On white

8.39
#4A520E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4A520E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A520E
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A520E#FFFFFF#000000##FFFFFF
##4A520E1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D01
Deuteranopia (green-blind)
#584E14
Tritanopia (blue-blind)
#4F4D45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a520e;
/* rgb */ color: rgb(74, 82, 14);
/* oklch */ color: oklch(41.8% 0.088 116.3);
Tailwind
colors: {
  custom: {
    50: '#7f8253',
    500: '#4a520e',
    950: '#000000',
  },
}
SCSS
$custom: #4a520e;
$custom-light: #7f8253;
$custom-dark: #000000;
JSON
{
  "hex": "#4a520e",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 14
  },
  "hsl": {
    "h": 67.059,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41773,
    "c": 0.08797,
    "h": 116.3
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#4A520E
secondary
#3A2F8C
accent
#3AEE4F
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A520E

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

Preview Lab → · Contrast checker → · Palette generator →

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