#4A5111#4A5111

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

Color values

HEX#4A5111
RGBrgb(74, 81, 17)
HSLhsl(67, 65%, 19%)
HSVhsv(67, 79%, 32%)
CMYKcmyk(8.6%, 0%, 79%, 68.2%)
CIE-LABlab(32.66, -12.13, 34.45)
CIE-LCHlch(32.66, 36.52, 109.39°)
OKLaboklab(41.53% -0.0367 0.0764)
OKLCHoklch(41.53% 0.085 115.7)
XYZxyz(5.8678, 7.3813, 1.6458)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5111 #181151
analogous
#513811 #4A5111 #2A5111
triadic
#4A5111 #114A51 #51114A
tetradic
#4A5111 #115138 #181151 #51112A
square
#4A5111 #115138 #181151 #51112A
split-complementary
#4A5111 #112A51 #381151
monochromatic
#171905 #1C1E06 #4A5111 #78841C #A6B626

Accessibility & contrast

On white

8.48
#4A5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A5111
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5111#FFFFFF#000000##FFFFFF
##4A51111.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C06
Deuteranopia (green-blind)
#574D16
Tritanopia (blue-blind)
#4F4C45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a5111;
/* rgb */ color: rgb(74, 81, 17);
/* oklch */ color: oklch(41.5% 0.085 115.7);
Tailwind
colors: {
  custom: {
    50: '#7f8154',
    500: '#4a5111',
    950: '#000000',
  },
}
SCSS
$custom: #4a5111;
$custom-light: #7f8154;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5111",
  "rgb": {
    "r": 74,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 66.563,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41532,
    "c": 0.08474,
    "h": 115.7
  },
  "luminance": 0.07381
}

Semantic roles & 50–950 ramp

primary
#4A5111
secondary
#3D348A
accent
#40E852
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A5111

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

Preview Lab → · Contrast checker → · Palette generator →

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