#4A511A#4A511A

#4A511A is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.6% C 0.077 H 116.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4A511A
RGBrgb(74, 81, 26)
HSLhsl(68, 51%, 21%)
HSVhsv(68, 68%, 32%)
CMYKcmyk(8.6%, 0%, 67.9%, 68.2%)
CIE-LABlab(32.73, -11.50, 30.43)
CIE-LCHlch(32.73, 32.53, 110.70°)
OKLaboklab(41.62% -0.0339 0.0696)
OKLCHoklch(41.62% 0.077 116)
XYZxyz(5.9530, 7.4154, 2.0948)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A511A #211A51
analogous
#513C1A #4A511A #2E511A
triadic
#4A511A #1A4A51 #511A4A
tetradic
#4A511A #1A513C #211A51 #511A2E
square
#4A511A #1A513C #211A51 #511A2E
split-complementary
#4A511A #1A2E51 #3C1A51
monochromatic
#151707 #20230B #4A511A #747F29 #9FAE38

Accessibility & contrast

On white

8.46
#4A511A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4A511A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A511A
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A511A#FFFFFF#000000##FFFFFF
##4A511A1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D13
Deuteranopia (green-blind)
#564D1E
Tritanopia (blue-blind)
#4F4C45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a511a;
/* rgb */ color: rgb(74, 81, 26);
/* oklch */ color: oklch(41.6% 0.077 116.0);
Tailwind
colors: {
  custom: {
    50: '#7e8159',
    500: '#4a511a',
    950: '#000000',
  },
}
SCSS
$custom: #4a511a;
$custom-light: #7e8159;
$custom-dark: #000000;
JSON
{
  "hex": "#4a511a",
  "rgb": {
    "r": 74,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 67.636,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41616,
    "c": 0.07739,
    "h": 116
  },
  "luminance": 0.07415
}

Semantic roles & 50–950 ramp

primary
#4A511A
secondary
#494087
accent
#4DDB5F
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4A511A

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

Preview Lab → · Contrast checker → · Palette generator →

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