#524B18#524B18

#524B18 is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.9% C 0.070 H 101.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#524B18
RGBrgb(82, 75, 24)
HSLhsl(53, 55%, 21%)
HSVhsv(53, 71%, 32%)
CMYKcmyk(0%, 8.5%, 70.7%, 67.8%)
CIE-LABlab(31.56, -4.15, 30.40)
CIE-LCHlch(31.56, 30.68, 97.78°)
OKLaboklab(40.86% -0.014 0.0689)
OKLCHoklch(40.86% 0.07 101.5)
XYZxyz(6.1609, 6.8922, 1.8698)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524B18 #181F52
analogous
#522E18 #524B18 #3C5218
triadic
#524B18 #18524B #4B1852
tetradic
#524B18 #18522E #181F52 #52183C
square
#524B18 #18522E #181F52 #52183C
split-complementary
#524B18 #183C52 #2E1852
monochromatic
#181607 #23200A #524B18 #817626 #B1A234

Accessibility & contrast

On white

8.83
#524B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#524B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524B18
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524B18#FFFFFF#000000##FFFFFF
##524B181.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524912
Deuteranopia (green-blind)
#544C1B
Tritanopia (blue-blind)
#594540
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #524b18;
/* rgb */ color: rgb(82, 75, 24);
/* oklch */ color: oklch(40.9% 0.070 101.5);
Tailwind
colors: {
  custom: {
    50: '#857d58',
    500: '#524b18',
    950: '#000000',
  },
}
SCSS
$custom: #524b18;
$custom-light: #857d58;
$custom-dark: #000000;
JSON
{
  "hex": "#524b18",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 24
  },
  "hsl": {
    "h": 52.759,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40858,
    "c": 0.07031,
    "h": 101.5
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#524B18
secondary
#3D4689
accent
#5CDE4A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #524B18

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

Preview Lab → · Contrast checker → · Palette generator →

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