#52591C#52591C

#52591C is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.4% C 0.084 H 115.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#52591C
RGBrgb(82, 89, 28)
HSLhsl(67, 52%, 23%)
HSVhsv(67, 69%, 35%)
CMYKcmyk(7.9%, 0%, 68.5%, 65.1%)
CIE-LABlab(36.03, -12.09, 33.18)
CIE-LCHlch(36.03, 35.32, 110.02°)
OKLaboklab(44.44% -0.0359 0.0755)
OKLCHoklch(44.44% 0.084 115.4)
XYZxyz(7.2618, 9.0225, 2.4574)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52591C #231C59
analogous
#59411C #52591C #33591C
triadic
#52591C #1C5259 #591C52
tetradic
#52591C #1C5941 #231C59 #591C33
square
#52591C #1C5941 #231C59 #591C33
split-complementary
#52591C #1C3359 #411C59
monochromatic
#151707 #272A0D #52591C #7D882B #A8B639

Accessibility & contrast

On white

7.49
#52591C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#52591C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52591C
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52591C#FFFFFF#000000##FFFFFF
##52591C1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5414
Deuteranopia (green-blind)
#5F5520
Tritanopia (blue-blind)
#57544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #52591c;
/* rgb */ color: rgb(82, 89, 28);
/* oklch */ color: oklch(44.4% 0.084 115.4);
Tailwind
colors: {
  custom: {
    50: '#85875c',
    500: '#52591c',
    950: '#000000',
  },
}
SCSS
$custom: #52591c;
$custom-light: #85875c;
$custom-dark: #000000;
JSON
{
  "hex": "#52591c",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 66.885,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44435,
    "c": 0.08358,
    "h": 115.4
  },
  "luminance": 0.09022
}

Semantic roles & 50–950 ramp

primary
#52591C
secondary
#4B428F
accent
#4CDC5D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #52591C

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

Preview Lab → · Contrast checker → · Palette generator →

#52591C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva