#4A5216#4A5216

#4A5216 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.082 H 116.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4A5216
RGBrgb(74, 82, 22)
HSLhsl(68, 58%, 20%)
HSVhsv(68, 73%, 32%)
CMYKcmyk(9.8%, 0%, 73.2%, 67.8%)
CIE-LABlab(33.02, -12.38, 32.64)
CIE-LCHlch(33.02, 34.91, 110.76°)
OKLaboklab(41.84% -0.0368 0.0735)
OKLCHoklch(41.84% 0.082 116.6)
XYZxyz(5.9863, 7.5484, 1.9005)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5216 #1E1652
analogous
#523C16 #4A5216 #2C5216
triadic
#4A5216 #164A52 #52164A
tetradic
#4A5216 #16523C #1E1652 #52162C
square
#4A5216 #16523C #1E1652 #52162C
split-complementary
#4A5216 #162C52 #3C1652
monochromatic
#161806 #1E2209 #4A5216 #768223 #A1B330

Accessibility & contrast

On white

8.37
#4A5216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4A5216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5216
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5216#FFFFFF#000000##FFFFFF
##4A52161.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0D
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#4F4D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a5216;
/* rgb */ color: rgb(74, 82, 22);
/* oklch */ color: oklch(41.8% 0.082 116.6);
Tailwind
colors: {
  custom: {
    50: '#7f8257',
    500: '#4a5216',
    950: '#000000',
  },
}
SCSS
$custom: #4a5216;
$custom-light: #7f8257;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5216",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 68,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41837,
    "c": 0.08225,
    "h": 116.6
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#4A5216
secondary
#453A89
accent
#47E15B
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A5216

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

Preview Lab → · Contrast checker → · Palette generator →

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