#525B10#525B10

#525B10 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.9% C 0.095 H 116.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#525B10
RGBrgb(82, 91, 16)
HSLhsl(67, 70%, 21%)
HSVhsv(67, 82%, 36%)
CMYKcmyk(9.9%, 0%, 82.4%, 64.3%)
CIE-LABlab(36.58, -13.97, 38.76)
CIE-LCHlch(36.58, 41.20, 109.82°)
OKLaboklab(44.85% -0.0424 0.085)
OKLCHoklch(44.85% 0.095 116.5)
XYZxyz(7.3145, 9.3135, 1.9025)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525B10 #19105B
analogous
#5B3E10 #525B10 #2C5B10
triadic
#525B10 #10525B #5B1052
tetradic
#525B10 #105B3E #19105B #5B102C
square
#525B10 #105B3E #19105B #5B102C
split-complementary
#525B10 #102C5B #3E105B
monochromatic
#171A05 #232707 #525B10 #818F19 #B0C322

Accessibility & contrast

On white

7.34
#525B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#525B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525B10
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525B10#FFFFFF#000000##FFFFFF
##525B101.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#615717
Tritanopia (blue-blind)
#58554D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #525b10;
/* rgb */ color: rgb(82, 91, 16);
/* oklch */ color: oklch(44.9% 0.095 116.5);
Tailwind
colors: {
  custom: {
    50: '#858955',
    500: '#525b10',
    950: '#000000',
  },
}
SCSS
$custom: #525b10;
$custom-light: #858955;
$custom-dark: #000000;
JSON
{
  "hex": "#525b10",
  "rgb": {
    "r": 82,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 67.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44851,
    "c": 0.09498,
    "h": 116.5
  },
  "luminance": 0.09313
}

Semantic roles & 50–950 ramp

primary
#525B10
secondary
#3E3394
accent
#3BED50
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525B10

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

Preview Lab → · Contrast checker → · Palette generator →

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