#525C10#525C10

#525C10 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.1% C 0.096 H 117.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#525C10
RGBrgb(82, 92, 16)
HSLhsl(68, 70%, 21%)
HSVhsv(68, 83%, 36%)
CMYKcmyk(10.9%, 0%, 82.6%, 63.9%)
CIE-LABlab(36.90, -14.52, 39.05)
CIE-LCHlch(36.90, 41.67, 110.40°)
OKLaboklab(45.11% -0.0439 0.0856)
OKLCHoklch(45.11% 0.096 117.2)
XYZxyz(7.4005, 9.4856, 1.9312)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525C10 #1A105C
analogous
#5C4010 #525C10 #2C5C10
triadic
#525C10 #10525C #5C1052
tetradic
#525C10 #105C40 #1A105C #5C102C
square
#525C10 #105C40 #1A105C #5C102C
split-complementary
#525C10 #102C5C #40105C
monochromatic
#171A05 #242807 #525C10 #809019 #AFC422

Accessibility & contrast

On white

7.25
#525C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#525C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525C10
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525C10#FFFFFF#000000##FFFFFF
##525C101.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#625717
Tritanopia (blue-blind)
#58564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #525c10;
/* rgb */ color: rgb(82, 92, 16);
/* oklch */ color: oklch(45.1% 0.096 117.2);
Tailwind
colors: {
  custom: {
    50: '#858a56',
    500: '#525c10',
    950: '#000000',
  },
}
SCSS
$custom: #525c10;
$custom-light: #858a56;
$custom-dark: #000000;
JSON
{
  "hex": "#525c10",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 67.895,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4511,
    "c": 0.09624,
    "h": 117.2
  },
  "luminance": 0.09486
}

Semantic roles & 50–950 ramp

primary
#525C10
secondary
#403395
accent
#3BED52
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #525C10

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

Preview Lab → · Contrast checker → · Palette generator →

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