#52500D#52500D

#52500D is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.0% C 0.084 H 107.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#52500D
RGBrgb(82, 80, 13)
HSLhsl(58, 73%, 19%)
HSVhsv(58, 84%, 32%)
CMYKcmyk(0%, 2.4%, 84.1%, 67.8%)
CIE-LABlab(33.05, -7.78, 36.61)
CIE-LCHlch(33.05, 37.42, 102.00°)
OKLaboklab(42.02% -0.0255 0.0798)
OKLCHoklch(42.02% 0.084 107.7)
XYZxyz(6.4212, 7.5604, 1.5018)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52500D #0D0F52
analogous
#522D0D #52500D #31520D
triadic
#52500D #0D5250 #500D52
tetradic
#52500D #0D522D #0D0F52 #520D31
square
#52500D #0D522D #0D0F52 #520D31
split-complementary
#52500D #0D3152 #2D0D52
monochromatic
#1A1A04 #1D1C05 #52500D #878415 #BCB71E

Accessibility & contrast

On white

8.36
#52500D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#52500D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52500D
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52500D#FFFFFF#000000##FFFFFF
##52500D1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584C00
Deuteranopia (green-blind)
#594F13
Tritanopia (blue-blind)
#594A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #52500d;
/* rgb */ color: rgb(82, 80, 13);
/* oklch */ color: oklch(42.0% 0.084 107.7);
Tailwind
colors: {
  custom: {
    50: '#858052',
    500: '#52500d',
    950: '#000000',
  },
}
SCSS
$custom: #52500d;
$custom-light: #858052;
$custom-dark: #000000;
JSON
{
  "hex": "#52500d",
  "rgb": {
    "r": 82,
    "g": 80,
    "b": 13
  },
  "hsl": {
    "h": 58.261,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.42018,
    "c": 0.08378,
    "h": 107.7
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#52500D
secondary
#2E318D
accent
#3EEF38
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #52500D

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

Preview Lab → · Contrast checker → · Palette generator →

#52500D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva