#525942#525942

#525942 is a mid, muted yellow-green. Relative luminance 0.093; OKLCH L 45.1% C 0.037 H 121.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#525942
RGBrgb(82, 89, 66)
HSLhsl(78, 15%, 30%)
HSVhsv(78, 26%, 35%)
CMYKcmyk(7.9%, 0%, 25.8%, 65.1%)
CIE-LABlab(36.62, -7.35, 12.43)
CIE-LCHlch(36.62, 14.44, 120.59°)
OKLaboklab(45.1% -0.0194 0.0315)
OKLCHoklch(45.1% 0.037 121.6)
XYZxyz(8.0353, 9.3319, 6.5311)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525942 #494259
analogous
#595442 #525942 #465942
triadic
#525942 #425259 #594252
tetradic
#525942 #425954 #494259 #594246
square
#525942 #425954 #494259 #594246
split-complementary
#525942 #424659 #544259
monochromatic
#11130E #323628 #525942 #727C5C #919C79

Accessibility & contrast

On white

7.33
#525942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#525942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525942
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525942#FFFFFF#000000##FFFFFF
##5259421.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5641
Deuteranopia (green-blind)
#5B5643
Tritanopia (blue-blind)
#545753
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #525942;
/* rgb */ color: rgb(82, 89, 66);
/* oklch */ color: oklch(45.1% 0.037 121.6);
Tailwind
colors: {
  custom: {
    50: '#828776',
    500: '#525942',
    950: '#000000',
  },
}
SCSS
$custom: #525942;
$custom-light: #828776;
$custom-dark: #000000;
JSON
{
  "hex": "#525942",
  "rgb": {
    "r": 82,
    "g": 89,
    "b": 66
  },
  "hsl": {
    "h": 78.261,
    "s": 14.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.45096,
    "c": 0.03704,
    "h": 121.6
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#525942
secondary
#766F88
accent
#70B886
background
#F8F8F7
surface
#EFEFED
border
#CACAC8
text
#0A0B08
muted
#7C7C7B

Preview Lab

Preview with #525942

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

Preview Lab → · Contrast checker → · Palette generator →

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