#4F520E#4F520E

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

Color values

HEX#4F520E
RGBrgb(79, 82, 14)
HSLhsl(63, 71%, 19%)
HSVhsv(63, 83%, 32%)
CMYKcmyk(3.7%, 0%, 82.9%, 67.8%)
CIE-LABlab(33.41, -10.40, 36.47)
CIE-LCHlch(33.41, 37.92, 105.92°)
OKLaboklab(42.24% -0.0325 0.0799)
OKLCHoklch(42.24% 0.086 112.2)
XYZxyz(6.3212, 7.7287, 1.5742)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F520E #110E52
analogous
#52330E #4F520E #2D520E
triadic
#4F520E #0E4F52 #520E4F
tetradic
#4F520E #0E5233 #110E52 #520E2D
square
#4F520E #0E5233 #110E52 #520E2D
split-complementary
#4F520E #0E2D52 #330E52
monochromatic
#191A04 #1D1E05 #4F520E #818617 #B4BB20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F520E#FFFFFF#000000##FFFFFF
##4F520E1.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)
#594E01
Deuteranopia (green-blind)
#594F14
Tritanopia (blue-blind)
#554C45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f520e;
/* rgb */ color: rgb(79, 82, 14);
/* oklch */ color: oklch(42.2% 0.086 112.2);
Tailwind
colors: {
  custom: {
    50: '#838253',
    500: '#4f520e',
    950: '#000000',
  },
}
SCSS
$custom: #4f520e;
$custom-light: #838253;
$custom-dark: #000000;
JSON
{
  "hex": "#4f520e",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 14
  },
  "hsl": {
    "h": 62.647,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.42239,
    "c": 0.08622,
    "h": 112.2
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

primary
#4F520E
secondary
#332F8C
accent
#3AEE42
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F520E

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

Preview Lab → · Contrast checker → · Palette generator →

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