#52550F#52550F

#52550F is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.3% C 0.088 H 112.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#52550F
RGBrgb(82, 85, 15)
HSLhsl(63, 70%, 20%)
HSVhsv(63, 82%, 33%)
CMYKcmyk(3.5%, 0%, 82.4%, 66.7%)
CIE-LABlab(34.65, -10.61, 37.35)
CIE-LCHlch(34.65, 38.82, 105.86°)
OKLaboklab(43.3% -0.0332 0.0818)
OKLCHoklch(43.3% 0.088 112.1)
XYZxyz(6.8146, 8.3255, 1.6998)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52550F #120F55
analogous
#55350F #52550F #2F550F
triadic
#52550F #0F5255 #550F52
tetradic
#52550F #0F5535 #120F55 #550F2F
square
#52550F #0F5535 #120F55 #550F2F
split-complementary
#52550F #0F2F55 #350F55
monochromatic
#191A05 #202106 #52550F #848918 #B6BD21

Accessibility & contrast

On white

7.88
#52550F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#52550F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52550F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52550F#FFFFFF#000000##FFFFFF
##52550F1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5101
Deuteranopia (green-blind)
#5C5215
Tritanopia (blue-blind)
#584F48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #52550f;
/* rgb */ color: rgb(82, 85, 15);
/* oklch */ color: oklch(43.3% 0.088 112.1);
Tailwind
colors: {
  custom: {
    50: '#858454',
    500: '#52550f',
    950: '#000000',
  },
}
SCSS
$custom: #52550f;
$custom-light: #858454;
$custom-dark: #000000;
JSON
{
  "hex": "#52550f",
  "rgb": {
    "r": 82,
    "g": 85,
    "b": 15
  },
  "hsl": {
    "h": 62.571,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.43302,
    "c": 0.08827,
    "h": 112.1
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#52550F
secondary
#35318F
accent
#3BED43
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #52550F

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

Preview Lab → · Contrast checker → · Palette generator →

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