#524F15#524F15

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

Color values

HEX#524F15
RGBrgb(82, 79, 21)
HSLhsl(57, 59%, 20%)
HSVhsv(57, 74%, 32%)
CMYKcmyk(0%, 3.7%, 74.4%, 67.8%)
CIE-LABlab(32.79, -6.76, 33.10)
CIE-LCHlch(32.79, 33.78, 101.55°)
OKLaboklab(41.83% -0.0218 0.074)
OKLCHoklch(41.83% 0.077 106.4)
XYZxyz(6.4113, 7.4402, 1.8077)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524F15 #151852
analogous
#523015 #524F15 #365215
triadic
#524F15 #15524F #4F1552
tetradic
#524F15 #155230 #151852 #521536
square
#524F15 #155230 #151852 #521536
split-complementary
#524F15 #153652 #301552
monochromatic
#181706 #212009 #524F15 #837E21 #B3AD2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##524F15#FFFFFF#000000##FFFFFF
##524F151.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)
#564C0C
Deuteranopia (green-blind)
#584E19
Tritanopia (blue-blind)
#584943
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #524f15;
/* rgb */ color: rgb(82, 79, 21);
/* oklch */ color: oklch(41.8% 0.077 106.4);
Tailwind
colors: {
  custom: {
    50: '#858056',
    500: '#524f15',
    950: '#000000',
  },
}
SCSS
$custom: #524f15;
$custom-light: #858056;
$custom-dark: #000000;
JSON
{
  "hex": "#524f15",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 21
  },
  "hsl": {
    "h": 57.049,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41827,
    "c": 0.07716,
    "h": 106.4
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#524F15
secondary
#393D8A
accent
#4DE245
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #524F15

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

Preview Lab → · Contrast checker → · Palette generator →

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