#525931#525931

#525931 is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.7% C 0.061 H 117.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#525931
RGBrgb(82, 89, 49)
HSLhsl(71, 29%, 27%)
HSVhsv(71, 45%, 35%)
CMYKcmyk(7.9%, 0%, 44.9%, 65.1%)
CIE-LABlab(36.29, -9.92, 22.19)
CIE-LCHlch(36.29, 24.31, 114.09°)
OKLaboklab(44.73% -0.0275 0.0539)
OKLCHoklch(44.73% 0.061 117)
XYZxyz(7.6065, 9.1604, 4.2726)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525931 #383159
analogous
#594C31 #525931 #3E5931
triadic
#525931 #315259 #593152
tetradic
#525931 #31594C #383159 #59313E
square
#525931 #31594C #383159 #59313E
split-complementary
#525931 #313E59 #4C3159
monochromatic
#12140B #2E321B #525931 #768047 #9AA65E

Accessibility & contrast

On white

7.42
#525931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#525931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525931
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525931#FFFFFF#000000##FFFFFF
##5259311.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552E
Deuteranopia (green-blind)
#5D5633
Tritanopia (blue-blind)
#56554F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #525931;
/* rgb */ color: rgb(82, 89, 49);
/* oklch */ color: oklch(44.7% 0.061 117.0);
Tailwind
colors: {
  custom: {
    50: '#83876a',
    500: '#525931',
    950: '#000000',
  },
}
SCSS
$custom: #525931;
$custom-light: #83876a;
$custom-dark: #000000;
JSON
{
  "hex": "#525931",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 49
  },
  "hsl": {
    "h": 70.5,
    "s": 28.986,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44731,
    "c": 0.06051,
    "h": 117
  },
  "luminance": 0.0916
}

Semantic roles & 50–950 ramp

primary
#525931
secondary
#645C8A
accent
#63C574
background
#F8F8F6
surface
#EFEFEB
border
#CACAC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #525931

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

Preview Lab → · Contrast checker → · Palette generator →

#525931 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva