#52510F#52510F

#52510F is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.3% C 0.084 H 108.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#52510F
RGBrgb(82, 81, 15)
HSLhsl(59, 69%, 19%)
HSVhsv(59, 82%, 32%)
CMYKcmyk(0%, 1.2%, 81.7%, 67.8%)
CIE-LABlab(33.38, -8.28, 36.17)
CIE-LCHlch(33.38, 37.11, 102.89°)
OKLaboklab(42.28% -0.0267 0.0793)
OKLCHoklch(42.28% 0.084 108.6)
XYZxyz(6.5086, 7.7134, 1.5978)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52510F #0F1052
analogous
#52300F #52510F #32520F
triadic
#52510F #0F5251 #510F52
tetradic
#52510F #0F5230 #0F1052 #520F32
square
#52510F #0F5230 #0F1052 #520F32
split-complementary
#52510F #0F3252 #300F52
monochromatic
#1A1A05 #1E1E06 #52510F #868418 #B9B722

Accessibility & contrast

On white

8.26
#52510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#52510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52510F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52510F#FFFFFF#000000##FFFFFF
##52510F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D02
Deuteranopia (green-blind)
#594F14
Tritanopia (blue-blind)
#594B45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #52510f;
/* rgb */ color: rgb(82, 81, 15);
/* oklch */ color: oklch(42.3% 0.084 108.6);
Tailwind
colors: {
  custom: {
    50: '#858154',
    500: '#52510f',
    950: '#000000',
  },
}
SCSS
$custom: #52510f;
$custom-light: #858154;
$custom-dark: #000000;
JSON
{
  "hex": "#52510f",
  "rgb": {
    "r": 82,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 59.104,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42284,
    "c": 0.08367,
    "h": 108.6
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#52510F
secondary
#31328C
accent
#3FEC3C
background
#F8F7F5
surface
#F0EEE8
border
#CBC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #52510F

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

Preview Lab → · Contrast checker → · Palette generator →

#52510F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva