#4A511F#4A511F

#4A511F is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.072 H 116.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4A511F
RGBrgb(74, 81, 31)
HSLhsl(68, 45%, 22%)
HSVhsv(68, 62%, 32%)
CMYKcmyk(8.6%, 0%, 61.7%, 68.2%)
CIE-LABlab(32.79, -11.05, 27.92)
CIE-LCHlch(32.79, 30.03, 111.59°)
OKLaboklab(41.68% -0.0321 0.0649)
OKLCHoklch(41.68% 0.072 116.3)
XYZxyz(6.0139, 7.4397, 2.4153)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A511F #261F51
analogous
#513F1F #4A511F #31511F
triadic
#4A511F #1F4A51 #511F4A
tetradic
#4A511F #1F513F #261F51 #511F31
square
#4A511F #1F513F #261F51 #511F31
split-complementary
#4A511F #1F3151 #3F1F51
monochromatic
#141608 #22250E #4A511F #727D30 #9BAA41

Accessibility & contrast

On white

8.44
#4A511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A511F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A511F#FFFFFF#000000##FFFFFF
##4A511F1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D1A
Deuteranopia (green-blind)
#564D22
Tritanopia (blue-blind)
#4F4D46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a511f;
/* rgb */ color: rgb(74, 81, 31);
/* oklch */ color: oklch(41.7% 0.072 116.3);
Tailwind
colors: {
  custom: {
    50: '#7e815d',
    500: '#4a511f',
    950: '#000000',
  },
}
SCSS
$custom: #4a511f;
$custom-light: #7e815d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a511f",
  "rgb": {
    "r": 74,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 68.4,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41676,
    "c": 0.07241,
    "h": 116.3
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#4A511F
secondary
#4F4686
accent
#53D465
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4A511F

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

Preview Lab → · Contrast checker → · Palette generator →

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