#52470F#52470F

#52470F is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.8% C 0.074 H 97.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#52470F
RGBrgb(82, 71, 15)
HSLhsl(50, 69%, 19%)
HSVhsv(50, 82%, 32%)
CMYKcmyk(0%, 13.4%, 81.7%, 67.8%)
CIE-LABlab(30.24, -2.25, 33.23)
CIE-LCHlch(30.24, 33.31, 93.88°)
OKLaboklab(39.79% -0.0097 0.0731)
OKLCHoklch(39.79% 0.074 97.6)
XYZxyz(5.8194, 6.3351, 1.3681)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52470F #0F1A52
analogous
#52260F #52470F #3C520F
triadic
#52470F #0F5247 #470F52
tetradic
#52470F #0F5226 #0F1A52 #520F3C
square
#52470F #0F5226 #0F1A52 #520F3C
split-complementary
#52470F #0F3C52 #260F52
monochromatic
#1A1605 #1E1A06 #52470F #867418 #B9A122

Accessibility & contrast

On white

9.26
#52470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#52470F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52470F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52470F#FFFFFF#000000##FFFFFF
##52470F1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4505
Deuteranopia (green-blind)
#524913
Tritanopia (blue-blind)
#59413C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #52470f;
/* rgb */ color: rgb(82, 71, 15);
/* oklch */ color: oklch(39.8% 0.074 97.6);
Tailwind
colors: {
  custom: {
    50: '#857952',
    500: '#52470f',
    950: '#000000',
  },
}
SCSS
$custom: #52470f;
$custom-light: #857952;
$custom-dark: #000000;
JSON
{
  "hex": "#52470f",
  "rgb": {
    "r": 82,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 50.149,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3979,
    "c": 0.0737,
    "h": 97.6
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#52470F
secondary
#31408C
accent
#59EC3C
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #52470F

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

Preview Lab → · Contrast checker → · Palette generator →

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