#4A510D#4A510D

#4A510D is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.5% C 0.087 H 115.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4A510D
RGBrgb(74, 81, 13)
HSLhsl(66, 72%, 18%)
HSVhsv(66, 84%, 32%)
CMYKcmyk(8.6%, 0%, 84%, 68.2%)
CIE-LABlab(32.63, -12.34, 35.95)
CIE-LCHlch(32.63, 38.01, 108.94°)
OKLaboklab(41.5% -0.0377 0.0788)
OKLCHoklch(41.5% 0.087 115.6)
XYZxyz(5.8393, 7.3699, 1.4956)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A510D #140D51
analogous
#51360D #4A510D #28510D
triadic
#4A510D #0D4A51 #510D4A
tetradic
#4A510D #0D5136 #140D51 #510D28
square
#4A510D #0D5136 #140D51 #510D28
split-complementary
#4A510D #0D2851 #360D51
monochromatic
#181A04 #1A1C05 #4A510D #7A8615 #AABA1E

Accessibility & contrast

On white

8.49
#4A510D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4A510D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A510D
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A510D#FFFFFF#000000##FFFFFF
##4A510D1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#574D13
Tritanopia (blue-blind)
#4F4C44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a510d;
/* rgb */ color: rgb(74, 81, 13);
/* oklch */ color: oklch(41.5% 0.087 115.6);
Tailwind
colors: {
  custom: {
    50: '#7f8152',
    500: '#4a510d',
    950: '#000000',
  },
}
SCSS
$custom: #4a510d;
$custom-light: #7f8152;
$custom-dark: #000000;
JSON
{
  "hex": "#4a510d",
  "rgb": {
    "r": 74,
    "g": 81,
    "b": 13
  },
  "hsl": {
    "h": 66.176,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.41504,
    "c": 0.08731,
    "h": 115.6
  },
  "luminance": 0.0737
}

Semantic roles & 50–950 ramp

primary
#4A510D
secondary
#382E8C
accent
#39EF4C
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #4A510D

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

Preview Lab → · Contrast checker → · Palette generator →

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