#4A511B#4A511B

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

Color values

HEX#4A511B
RGBrgb(74, 81, 27)
HSLhsl(68, 50%, 21%)
HSVhsv(68, 67%, 32%)
CMYKcmyk(8.6%, 0%, 66.7%, 68.2%)
CIE-LABlab(32.74, -11.41, 29.95)
CIE-LCHlch(32.74, 32.05, 110.86°)
OKLaboklab(41.63% -0.0336 0.0687)
OKLCHoklch(41.63% 0.076 116.1)
XYZxyz(5.9644, 7.4199, 2.1547)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A511B #221B51
analogous
#513D1B #4A511B #2F511B
triadic
#4A511B #1B4A51 #511B4A
tetradic
#4A511B #1B513D #221B51 #511B2F
square
#4A511B #1B513D #221B51 #511B2F
split-complementary
#4A511B #1B2F51 #3D1B51
monochromatic
#151708 #20230C #4A511B #747F2A #9EAD3A

Accessibility & contrast

On white

8.45
#4A511B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A511B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A511B#FFFFFF#000000##FFFFFF
##4A511B1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D15
Deuteranopia (green-blind)
#564D1F
Tritanopia (blue-blind)
#4F4C46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a511b;
/* rgb */ color: rgb(74, 81, 27);
/* oklch */ color: oklch(41.6% 0.076 116.1);
Tailwind
colors: {
  custom: {
    50: '#7e815a',
    500: '#4a511b',
    950: '#000000',
  },
}
SCSS
$custom: #4a511b;
$custom-light: #7e815a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a511b",
  "rgb": {
    "r": 74,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 67.778,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41627,
    "c": 0.07644,
    "h": 116.1
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#4A511B
secondary
#4A4187
accent
#4EDA60
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4A511B

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

Preview Lab → · Contrast checker → · Palette generator →

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