#52570D#52570D

#52570D is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.8% C 0.092 H 113.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#52570D
RGBrgb(82, 87, 13)
HSLhsl(64, 74%, 20%)
HSVhsv(64, 85%, 34%)
CMYKcmyk(5.7%, 0%, 85.1%, 65.9%)
CIE-LABlab(35.28, -11.85, 38.61)
CIE-LCHlch(35.28, 40.38, 107.06°)
OKLaboklab(43.8% -0.0368 0.0841)
OKLCHoklch(43.8% 0.092 113.6)
XYZxyz(6.9607, 8.6394, 1.6816)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52570D #120D57
analogous
#57370D #52570D #2D570D
triadic
#52570D #0D5257 #570D52
tetradic
#52570D #0D5737 #120D57 #570D2D
square
#52570D #0D5737 #120D57 #570D2D
split-complementary
#52570D #0D2D57 #370D57
monochromatic
#191B04 #202205 #52570D #848C15 #B6C11D

Accessibility & contrast

On white

7.70
#52570D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#52570D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52570D
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52570D#FFFFFF#000000##FFFFFF
##52570D1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#5E5414
Tritanopia (blue-blind)
#585149
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #52570d;
/* rgb */ color: rgb(82, 87, 13);
/* oklch */ color: oklch(43.8% 0.092 113.6);
Tailwind
colors: {
  custom: {
    50: '#858654',
    500: '#52570d',
    950: '#000000',
  },
}
SCSS
$custom: #52570d;
$custom-light: #858654;
$custom-dark: #000000;
JSON
{
  "hex": "#52570d",
  "rgb": {
    "r": 82,
    "g": 87,
    "b": 13
  },
  "hsl": {
    "h": 64.054,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.43802,
    "c": 0.09178,
    "h": 113.6
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#52570D
secondary
#352E92
accent
#37F144
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #52570D

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

Preview Lab → · Contrast checker → · Palette generator →

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