#524E10#524E10

#524E10 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.5% C 0.080 H 105.6°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#524E10
RGBrgb(82, 78, 16)
HSLhsl(56, 67%, 19%)
HSVhsv(56, 80%, 32%)
CMYKcmyk(0%, 4.9%, 80.5%, 67.8%)
CIE-LABlab(32.44, -6.45, 34.90)
CIE-LCHlch(32.44, 35.49, 100.47°)
OKLaboklab(41.54% -0.0215 0.0768)
OKLCHoklch(41.54% 0.08 105.6)
XYZxyz(6.2979, 7.2803, 1.5636)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524E10 #101452
analogous
#522D10 #524E10 #355210
triadic
#524E10 #10524E #4E1052
tetradic
#524E10 #10522D #101452 #521035
square
#524E10 #10522D #101452 #521035
split-complementary
#524E10 #103552 #2D1052
monochromatic
#1A1805 #1F1D06 #524E10 #857F1A #B8AF24

Accessibility & contrast

On white

8.55
#524E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#524E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524E10
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524E10#FFFFFF#000000##FFFFFF
##524E101.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B05
Deuteranopia (green-blind)
#574D15
Tritanopia (blue-blind)
#594842
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #524e10;
/* rgb */ color: rgb(82, 78, 16);
/* oklch */ color: oklch(41.5% 0.080 105.6);
Tailwind
colors: {
  custom: {
    50: '#857f54',
    500: '#524e10',
    950: '#000000',
  },
}
SCSS
$custom: #524e10;
$custom-light: #857f54;
$custom-dark: #000000;
JSON
{
  "hex": "#524e10",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 16
  },
  "hsl": {
    "h": 56.364,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41535,
    "c": 0.07975,
    "h": 105.6
  },
  "luminance": 0.0728
}

Semantic roles & 50–950 ramp

primary
#524E10
secondary
#32388C
accent
#48EA3E
background
#F8F7F4
surface
#F0EEE8
border
#CBC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #524E10

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

Preview Lab → · Contrast checker → · Palette generator →

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