#525C40#525C40

#525C40 is a mid, muted yellow-green. Relative luminance 0.098; OKLCH L 45.8% C 0.045 H 124.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#525C40
RGBrgb(82, 92, 64)
HSLhsl(81, 18%, 31%)
HSVhsv(81, 30%, 36%)
CMYKcmyk(10.9%, 0%, 30.4%, 63.9%)
CIE-LABlab(37.51, -9.44, 14.87)
CIE-LCHlch(37.51, 17.61, 122.43°)
OKLaboklab(45.8% -0.0253 0.0374)
OKLCHoklch(45.8% 0.045 124.1)
XYZxyz(8.2321, 9.8183, 6.3109)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525C40 #4A405C
analogous
#5C5840 #525C40 #445C40
triadic
#525C40 #40525C #5C4052
tetradic
#525C40 #405C58 #4A405C #5C4044
square
#525C40 #405C58 #4A405C #5C4044
split-complementary
#525C40 #40445C #58405C
monochromatic
#12140E #323827 #525C40 #728059 #91A076

Accessibility & contrast

On white

7.09
#525C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#525C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525C40
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525C40#FFFFFF#000000##FFFFFF
##525C401.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F593E
Deuteranopia (green-blind)
#5E5841
Tritanopia (blue-blind)
#545955
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #525c40;
/* rgb */ color: rgb(82, 92, 64);
/* oklch */ color: oklch(45.8% 0.045 124.1);
Tailwind
colors: {
  custom: {
    50: '#838a75',
    500: '#525c40',
    950: '#000000',
  },
}
SCSS
$custom: #525c40;
$custom-light: #838a75;
$custom-dark: #000000;
JSON
{
  "hex": "#525c40",
  "rgb": {
    "r": 82,
    "g": 92,
    "b": 64
  },
  "hsl": {
    "h": 81.429,
    "s": 17.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.04519,
    "h": 124.1
  },
  "luminance": 0.09818
}

Semantic roles & 50–950 ramp

primary
#525C40
secondary
#776C8B
accent
#6DBB89
background
#F8F8F7
surface
#EFF0ED
border
#CACBC8
text
#0A0B08
muted
#7C7C7B

Preview Lab

Preview with #525C40

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

Preview Lab → · Contrast checker → · Palette generator →

#525C40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva