#4F520D#4F520D

#4F520D is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.2% C 0.087 H 112.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4F520D
RGBrgb(79, 82, 13)
HSLhsl(63, 73%, 19%)
HSVhsv(63, 84%, 32%)
CMYKcmyk(3.7%, 0%, 84.1%, 67.8%)
CIE-LABlab(33.41, -10.45, 36.82)
CIE-LCHlch(33.41, 38.28, 105.84°)
OKLaboklab(42.23% -0.0327 0.0804)
OKLCHoklch(42.23% 0.087 112.2)
XYZxyz(6.3146, 7.7261, 1.5393)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F520D #100D52
analogous
#52320D #4F520D #2C520D
triadic
#4F520D #0D4F52 #520D4F
tetradic
#4F520D #0D5232 #100D52 #520D2C
square
#4F520D #0D5232 #100D52 #520D2C
split-complementary
#4F520D #0D2C52 #320D52
monochromatic
#191A04 #1C1D05 #4F520D #828715 #B5BC1E

Accessibility & contrast

On white

8.25
#4F520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F520D
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F520D#FFFFFF#000000##FFFFFF
##4F520D1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#594F13
Tritanopia (blue-blind)
#554C45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f520d;
/* rgb */ color: rgb(79, 82, 13);
/* oklch */ color: oklch(42.2% 0.087 112.2);
Tailwind
colors: {
  custom: {
    50: '#838253',
    500: '#4f520d',
    950: '#000000',
  },
}
SCSS
$custom: #4f520d;
$custom-light: #838253;
$custom-dark: #000000;
JSON
{
  "hex": "#4f520d",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 62.609,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.42233,
    "c": 0.08681,
    "h": 112.2
  },
  "luminance": 0.07726
}

Semantic roles & 50–950 ramp

primary
#4F520D
secondary
#322E8D
accent
#38EF40
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F520D

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

Preview Lab → · Contrast checker → · Palette generator →

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