#525114#525114

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

Color values

HEX#525114
RGBrgb(82, 81, 20)
HSLhsl(59, 61%, 20%)
HSVhsv(59, 76%, 32%)
CMYKcmyk(0%, 1.2%, 75.6%, 67.8%)
CIE-LABlab(33.41, -8.01, 34.16)
CIE-LCHlch(33.41, 35.09, 103.19°)
OKLaboklab(42.32% -0.0254 0.0761)
OKLCHoklch(42.32% 0.08 108.5)
XYZxyz(6.5486, 7.7294, 1.8087)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525114 #141552
analogous
#523214 #525114 #345214
triadic
#525114 #145251 #511452
tetradic
#525114 #145232 #141552 #521434
square
#525114 #145232 #141552 #521434
split-complementary
#525114 #143452 #321452
monochromatic
#191806 #212008 #525114 #838220 #B4B22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525114#FFFFFF#000000##FFFFFF
##5251141.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)
#584D0A
Deuteranopia (green-blind)
#595018
Tritanopia (blue-blind)
#584B45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #525114;
/* rgb */ color: rgb(82, 81, 20);
/* oklch */ color: oklch(42.3% 0.080 108.5);
Tailwind
colors: {
  custom: {
    50: '#858156',
    500: '#525114',
    950: '#000000',
  },
}
SCSS
$custom: #525114;
$custom-light: #858156;
$custom-dark: #000000;
JSON
{
  "hex": "#525114",
  "rgb": {
    "r": 82,
    "g": 81,
    "b": 20
  },
  "hsl": {
    "h": 59.032,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.42322,
    "c": 0.08021,
    "h": 108.5
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

primary
#525114
secondary
#38398A
accent
#46E444
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #525114

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

Preview Lab → · Contrast checker → · Palette generator →

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