#4F5517#4F5517

#4F5517 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.1% C 0.084 H 114.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#4F5517
RGBrgb(79, 85, 23)
HSLhsl(66, 57%, 21%)
HSVhsv(66, 73%, 33%)
CMYKcmyk(7.1%, 0%, 72.9%, 66.7%)
CIE-LABlab(34.44, -11.61, 33.77)
CIE-LCHlch(34.44, 35.71, 108.97°)
OKLaboklab(43.08% -0.0349 0.0759)
OKLCHoklch(43.08% 0.084 114.7)
XYZxyz(6.6278, 8.2212, 2.0482)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5517 #1D1755
analogous
#553C17 #4F5517 #305517
triadic
#4F5517 #174F55 #55174F
tetradic
#4F5517 #17553C #1D1755 #551730
square
#4F5517 #17553C #1D1755 #551730
split-complementary
#4F5517 #173055 #3C1755
monochromatic
#161807 #22250A #4F5517 #7C8524 #A9B531

Accessibility & contrast

On white

7.94
#4F5517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4F5517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5517
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5517#FFFFFF#000000##FFFFFF
##4F55171.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500E
Deuteranopia (green-blind)
#5B521B
Tritanopia (blue-blind)
#545049
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f5517;
/* rgb */ color: rgb(79, 85, 23);
/* oklch */ color: oklch(43.1% 0.084 114.7);
Tailwind
colors: {
  custom: {
    50: '#828458',
    500: '#4f5517',
    950: '#000000',
  },
}
SCSS
$custom: #4f5517;
$custom-light: #828458;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5517",
  "rgb": {
    "r": 79,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 65.806,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43083,
    "c": 0.08359,
    "h": 114.7
  },
  "luminance": 0.08221
}

Semantic roles & 50–950 ramp

primary
#4F5517
secondary
#443C8C
accent
#47E156
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5517

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

Preview Lab → · Contrast checker → · Palette generator →

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