#524F14#524F14

#524F14 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.8% C 0.078 H 106.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#524F14
RGBrgb(82, 79, 20)
HSLhsl(57, 61%, 20%)
HSVhsv(57, 76%, 32%)
CMYKcmyk(0%, 3.7%, 75.6%, 67.8%)
CIE-LABlab(32.78, -6.82, 33.54)
CIE-LCHlch(32.78, 34.22, 101.50°)
OKLaboklab(41.82% -0.0221 0.0748)
OKLCHoklch(41.82% 0.078 106.4)
XYZxyz(6.4022, 7.4365, 1.7598)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524F14 #141752
analogous
#523014 #524F14 #365214
triadic
#524F14 #14524F #4F1452
tetradic
#524F14 #145230 #141752 #521436
square
#524F14 #145230 #141752 #521436
split-complementary
#524F14 #143652 #301452
monochromatic
#191806 #212008 #524F14 #837E20 #B4AE2C

Accessibility & contrast

On white

8.44
#524F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#524F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524F14
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524F14#FFFFFF#000000##FFFFFF
##524F141.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0B
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#584943
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #524f14;
/* rgb */ color: rgb(82, 79, 20);
/* oklch */ color: oklch(41.8% 0.078 106.4);
Tailwind
colors: {
  custom: {
    50: '#858056',
    500: '#524f14',
    950: '#000000',
  },
}
SCSS
$custom: #524f14;
$custom-light: #858056;
$custom-dark: #000000;
JSON
{
  "hex": "#524f14",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 20
  },
  "hsl": {
    "h": 57.097,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.41818,
    "c": 0.07796,
    "h": 106.4
  },
  "luminance": 0.07436
}

Semantic roles & 50–950 ramp

primary
#524F14
secondary
#383C8A
accent
#4CE444
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #524F14

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

Preview Lab → · Contrast checker → · Palette generator →

#524F14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva