#4A511C#4A511C

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

Color values

HEX#4A511C
RGBrgb(74, 81, 28)
HSLhsl(68, 49%, 21%)
HSVhsv(68, 65%, 32%)
CMYKcmyk(8.6%, 0%, 65.4%, 68.2%)
CIE-LABlab(32.75, -11.33, 29.45)
CIE-LCHlch(32.75, 31.55, 111.04°)
OKLaboklab(41.64% -0.0332 0.0678)
OKLCHoklch(41.64% 0.075 116.1)
XYZxyz(5.9762, 7.4246, 2.2167)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A511C #231C51
analogous
#513E1C #4A511C #30511C
triadic
#4A511C #1C4A51 #511C4A
tetradic
#4A511C #1C513E #231C51 #511C30
square
#4A511C #1C513E #231C51 #511C30
split-complementary
#4A511C #1C3051 #3E1C51
monochromatic
#151708 #20240C #4A511C #747E2C #9DAC3B

Accessibility & contrast

On white

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

On black

2.49
#4A511C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4A511C#FFFFFF#000000##FFFFFF
##4A511C1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a511c;
/* rgb */ color: rgb(74, 81, 28);
/* oklch */ color: oklch(41.6% 0.075 116.1);
Tailwind
colors: {
  custom: {
    50: '#7e815b',
    500: '#4a511c',
    950: '#000000',
  },
}
SCSS
$custom: #4a511c;
$custom-light: #7e815b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a511c",
  "rgb": {
    "r": 74,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 67.925,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41639,
    "c": 0.07547,
    "h": 116.1
  },
  "luminance": 0.07425
}

Semantic roles & 50–950 ramp

primary
#4A511C
secondary
#4B4287
accent
#50D862
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4A511C

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

Preview Lab → · Contrast checker → · Palette generator →

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