#525915#525915

#525915 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.4% C 0.089 H 115.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#525915
RGBrgb(82, 89, 21)
HSLhsl(66, 62%, 22%)
HSVhsv(66, 76%, 35%)
CMYKcmyk(7.9%, 0%, 76.4%, 65.1%)
CIE-LABlab(35.97, -12.57, 36.26)
CIE-LCHlch(35.97, 38.37, 109.12°)
OKLaboklab(44.37% -0.038 0.0807)
OKLCHoklch(44.37% 0.089 115.2)
XYZxyz(7.1876, 8.9929, 2.0665)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525915 #1C1559
analogous
#593E15 #525915 #305915
triadic
#525915 #155259 #591552
tetradic
#525915 #15593E #1C1559 #591530
square
#525915 #15593E #1C1559 #591530
split-complementary
#525915 #153059 #3E1559
monochromatic
#171906 #242709 #525915 #808B21 #ADBC2C

Accessibility & contrast

On white

7.50
#525915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#525915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525915
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525915#FFFFFF#000000##FFFFFF
##5259151.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605409
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#58534C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #525915;
/* rgb */ color: rgb(82, 89, 21);
/* oklch */ color: oklch(44.4% 0.089 115.2);
Tailwind
colors: {
  custom: {
    50: '#858758',
    500: '#525915',
    950: '#000000',
  },
}
SCSS
$custom: #525915;
$custom-light: #858758;
$custom-dark: #000000;
JSON
{
  "hex": "#525915",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 66.176,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44371,
    "c": 0.0892,
    "h": 115.2
  },
  "luminance": 0.08993
}

Semantic roles & 50–950 ramp

primary
#525915
secondary
#423991
accent
#43E554
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525915

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

Preview Lab → · Contrast checker → · Palette generator →

#525915 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva