#4F5216#4F5216

#4F5216 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.3% C 0.081 H 112.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4F5216
RGBrgb(79, 82, 22)
HSLhsl(63, 58%, 20%)
HSVhsv(63, 73%, 32%)
CMYKcmyk(3.7%, 0%, 73.2%, 67.8%)
CIE-LABlab(33.47, -9.94, 33.24)
CIE-LCHlch(33.47, 34.69, 106.66°)
OKLaboklab(42.3% -0.0304 0.0746)
OKLCHoklch(42.3% 0.081 112.2)
XYZxyz(6.3868, 7.7549, 1.9193)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5216 #191652
analogous
#523716 #4F5216 #315216
triadic
#4F5216 #164F52 #52164F
tetradic
#4F5216 #165237 #191652 #521631
square
#4F5216 #165237 #191652 #521631
split-complementary
#4F5216 #163152 #371652
monochromatic
#171806 #212209 #4F5216 #7D8223 #ACB330

Accessibility & contrast

On white

8.23
#4F5216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4F5216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5216
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5216#FFFFFF#000000##FFFFFF
##4F52161.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0D
Deuteranopia (green-blind)
#594F1A
Tritanopia (blue-blind)
#554D46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f5216;
/* rgb */ color: rgb(79, 82, 22);
/* oklch */ color: oklch(42.3% 0.081 112.2);
Tailwind
colors: {
  custom: {
    50: '#828257',
    500: '#4f5216',
    950: '#000000',
  },
}
SCSS
$custom: #4f5216;
$custom-light: #828257;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5216",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 63,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42302,
    "c": 0.08058,
    "h": 112.2
  },
  "luminance": 0.07755
}

Semantic roles & 50–950 ramp

primary
#4F5216
secondary
#3E3A89
accent
#47E14F
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5216

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

Preview Lab → · Contrast checker → · Palette generator →

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