#52570F#52570F

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

Color values

HEX#52570F
RGBrgb(82, 87, 15)
HSLhsl(64, 71%, 20%)
HSVhsv(64, 83%, 34%)
CMYKcmyk(5.7%, 0%, 82.8%, 65.9%)
CIE-LABlab(35.29, -11.76, 37.93)
CIE-LCHlch(35.29, 39.71, 107.22°)
OKLaboklab(43.81% -0.0364 0.083)
OKLCHoklch(43.81% 0.091 113.7)
XYZxyz(6.9743, 8.6449, 1.7531)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52570F #140F57
analogous
#57380F #52570F #2E570F
triadic
#52570F #0F5257 #570F52
tetradic
#52570F #0F5738 #140F57 #570F2E
square
#52570F #0F5738 #140F57 #570F2E
split-complementary
#52570F #0F2E57 #380F57
monochromatic
#191A05 #212306 #52570F #838B18 #B4BF21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52570F#FFFFFF#000000##FFFFFF
##52570F1.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)
#5E5415
Tritanopia (blue-blind)
#58514A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #52570f;
/* rgb */ color: rgb(82, 87, 15);
/* oklch */ color: oklch(43.8% 0.091 113.7);
Tailwind
colors: {
  custom: {
    50: '#858654',
    500: '#52570f',
    950: '#000000',
  },
}
SCSS
$custom: #52570f;
$custom-light: #858654;
$custom-dark: #000000;
JSON
{
  "hex": "#52570f",
  "rgb": {
    "r": 82,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 64.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.43814,
    "c": 0.09066,
    "h": 113.7
  },
  "luminance": 0.08645
}

Semantic roles & 50–950 ramp

primary
#52570F
secondary
#383191
accent
#3AED47
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #52570F

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

Preview Lab → · Contrast checker → · Palette generator →

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