#525D10#525D10

#525D10 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.4% C 0.097 H 117.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#525D10
RGBrgb(82, 93, 16)
HSLhsl(69, 71%, 21%)
HSVhsv(69, 83%, 36%)
CMYKcmyk(11.8%, 0%, 82.8%, 63.5%)
CIE-LABlab(37.23, -15.08, 39.35)
CIE-LCHlch(37.23, 42.14, 110.96°)
OKLaboklab(45.37% -0.0454 0.0862)
OKLCHoklch(45.37% 0.097 117.8)
XYZxyz(7.4877, 9.6600, 1.9602)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525D10 #1B105D
analogous
#5D4210 #525D10 #2C5D10
triadic
#525D10 #10525D #5D1052
tetradic
#525D10 #105D42 #1B105D #5D102C
square
#525D10 #105D42 #1B105D #5D102C
split-complementary
#525D10 #102C5D #42105D
monochromatic
#171A04 #242907 #525D10 #809119 #AEC522

Accessibility & contrast

On white

7.16
#525D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#525D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525D10
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525D10#FFFFFF#000000##FFFFFF
##525D101.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#635817
Tritanopia (blue-blind)
#58574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #525d10;
/* rgb */ color: rgb(82, 93, 16);
/* oklch */ color: oklch(45.4% 0.097 117.8);
Tailwind
colors: {
  custom: {
    50: '#858a56',
    500: '#525d10',
    950: '#000000',
  },
}
SCSS
$custom: #525d10;
$custom-light: #858a56;
$custom-dark: #000000;
JSON
{
  "hex": "#525d10",
  "rgb": {
    "r": 82,
    "g": 93,
    "b": 16
  },
  "hsl": {
    "h": 68.571,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45369,
    "c": 0.09749,
    "h": 117.8
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#525D10
secondary
#413396
accent
#3AED54
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525D10

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

Preview Lab → · Contrast checker → · Palette generator →

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