#525115#525115

#525115 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.3% C 0.079 H 108.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#525115
RGBrgb(82, 81, 21)
HSLhsl(59, 59%, 20%)
HSVhsv(59, 74%, 32%)
CMYKcmyk(0%, 1.2%, 74.4%, 67.8%)
CIE-LABlab(33.42, -7.95, 33.73)
CIE-LCHlch(33.42, 34.65, 103.26°)
OKLaboklab(42.33% -0.0251 0.0754)
OKLCHoklch(42.33% 0.079 108.4)
XYZxyz(6.5577, 7.7330, 1.8565)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525115 #151652
analogous
#523215 #525115 #355215
triadic
#525115 #155251 #511552
tetradic
#525115 #155232 #151652 #521535
square
#525115 #155232 #151652 #521535
split-complementary
#525115 #153552 #321552
monochromatic
#181806 #212109 #525115 #838121 #B3B12E

Accessibility & contrast

On white

8.25
#525115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#525115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525115
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525115#FFFFFF#000000##FFFFFF
##5251151.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0C
Deuteranopia (green-blind)
#595019
Tritanopia (blue-blind)
#584B45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #525115;
/* rgb */ color: rgb(82, 81, 21);
/* oklch */ color: oklch(42.3% 0.079 108.4);
Tailwind
colors: {
  custom: {
    50: '#858157',
    500: '#525115',
    950: '#000000',
  },
}
SCSS
$custom: #525115;
$custom-light: #858157;
$custom-dark: #000000;
JSON
{
  "hex": "#525115",
  "rgb": {
    "r": 82,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 59.016,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42331,
    "c": 0.07944,
    "h": 108.4
  },
  "luminance": 0.07733
}

Semantic roles & 50–950 ramp

primary
#525115
secondary
#393A8A
accent
#48E245
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525115

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

Preview Lab → · Contrast checker → · Palette generator →

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