#525E15#525E15

#525E15 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.7% C 0.096 H 118.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#525E15
RGBrgb(82, 94, 21)
HSLhsl(70, 63%, 23%)
HSVhsv(70, 78%, 37%)
CMYKcmyk(12.8%, 0%, 77.7%, 63.1%)
CIE-LABlab(37.58, -15.36, 37.82)
CIE-LCHlch(37.58, 40.82, 112.11°)
OKLaboklab(45.66% -0.0458 0.084)
OKLCHoklch(45.66% 0.096 118.6)
XYZxyz(7.6179, 9.8534, 2.2099)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525E15 #21155E
analogous
#5E4515 #525E15 #2E5E15
triadic
#525E15 #15525E #5E1552
tetradic
#525E15 #155E45 #21155E #5E152E
square
#525E15 #155E45 #21155E #5E152E
split-complementary
#525E15 #152E5E #45155E
monochromatic
#161906 #262C0A #525E15 #7E9020 #A9C22B

Accessibility & contrast

On white

7.07
#525E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#525E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525E15
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525E15#FFFFFF#000000##FFFFFF
##525E151.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655807
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#575850
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #525e15;
/* rgb */ color: rgb(82, 94, 21);
/* oklch */ color: oklch(45.7% 0.096 118.6);
Tailwind
colors: {
  custom: {
    50: '#858b58',
    500: '#525e15',
    950: '#000000',
  },
}
SCSS
$custom: #525e15;
$custom-light: #858b58;
$custom-dark: #000000;
JSON
{
  "hex": "#525e15",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 21
  },
  "hsl": {
    "h": 69.863,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45663,
    "c": 0.09565,
    "h": 118.6
  },
  "luminance": 0.09853
}

Semantic roles & 50–950 ramp

primary
#525E15
secondary
#493995
accent
#41E75C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #525E15

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

Preview Lab → · Contrast checker → · Palette generator →

#525E15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva