#524E18#524E18

#524E18 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.6% C 0.074 H 105.1°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#524E18
RGBrgb(82, 78, 24)
HSLhsl(56, 55%, 21%)
HSVhsv(56, 71%, 32%)
CMYKcmyk(0%, 4.9%, 70.7%, 67.8%)
CIE-LABlab(32.50, -5.96, 31.39)
CIE-LCHlch(32.50, 31.95, 100.75°)
OKLaboklab(41.61% -0.0191 0.071)
OKLCHoklch(41.61% 0.074 105.1)
XYZxyz(6.3692, 7.3088, 1.9392)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524E18 #181C52
analogous
#523118 #524E18 #395218
triadic
#524E18 #18524E #4E1852
tetradic
#524E18 #185231 #181C52 #521839
square
#524E18 #185231 #181C52 #521839
split-complementary
#524E18 #183952 #311852
monochromatic
#181707 #23210A #524E18 #817B26 #B1A834

Accessibility & contrast

On white

8.53
#524E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #524E18
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524E18#FFFFFF#000000##FFFFFF
##524E181.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B11
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#584843
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #524e18;
/* rgb */ color: rgb(82, 78, 24);
/* oklch */ color: oklch(41.6% 0.074 105.1);
Tailwind
colors: {
  custom: {
    50: '#857f58',
    500: '#524e18',
    950: '#000000',
  },
}
SCSS
$custom: #524e18;
$custom-light: #857f58;
$custom-dark: #000000;
JSON
{
  "hex": "#524e18",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 55.862,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41605,
    "c": 0.07353,
    "h": 105.1
  },
  "luminance": 0.07309
}

Semantic roles & 50–950 ramp

primary
#524E18
secondary
#3D4289
accent
#54DE4A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #524E18

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

Preview Lab → · Contrast checker → · Palette generator →

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