#525940#525940

#525940 is a mid, muted yellow-green. Relative luminance 0.093; OKLCH L 45.0% C 0.040 H 120.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#525940
RGBrgb(82, 89, 64)
HSLhsl(77, 16%, 30%)
HSVhsv(77, 28%, 35%)
CMYKcmyk(7.9%, 0%, 28.1%, 65.1%)
CIE-LABlab(36.57, -7.69, 13.59)
CIE-LCHlch(36.57, 15.61, 119.50°)
OKLaboklab(45.05% -0.0204 0.0343)
OKLCHoklch(45.05% 0.04 120.7)
XYZxyz(7.9774, 9.3088, 6.2260)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525940 #474059
analogous
#595440 #525940 #455940
triadic
#525940 #405259 #594052
tetradic
#525940 #405954 #474059 #594045
square
#525940 #405954 #474059 #594045
split-complementary
#525940 #404559 #544059
monochromatic
#10120D #313526 #525940 #737D5A #929D77

Accessibility & contrast

On white

7.34
#525940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#525940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525940
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525940#FFFFFF#000000##FFFFFF
##5259401.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C563E
Deuteranopia (green-blind)
#5B5641
Tritanopia (blue-blind)
#545652
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #525940;
/* rgb */ color: rgb(82, 89, 64);
/* oklch */ color: oklch(45.0% 0.040 120.7);
Tailwind
colors: {
  custom: {
    50: '#838775',
    500: '#525940',
    950: '#000000',
  },
}
SCSS
$custom: #525940;
$custom-light: #838775;
$custom-dark: #000000;
JSON
{
  "hex": "#525940",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 64
  },
  "hsl": {
    "h": 76.8,
    "s": 16.34,
    "l": 30
  },
  "oklch": {
    "l": 0.45047,
    "c": 0.03995,
    "h": 120.7
  },
  "luminance": 0.09309
}

Semantic roles & 50–950 ramp

primary
#525940
secondary
#746C88
accent
#6FB984
background
#F8F8F7
surface
#EFEFED
border
#CACAC8
text
#0A0B08
muted
#7C7C7B

Preview Lab

Preview with #525940

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

Preview Lab → · Contrast checker → · Palette generator →

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