#525E40#525E40

#525E40 is a mid, muted yellow-green. Relative luminance 0.102; OKLCH L 46.3% C 0.049 H 125.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#525E40
RGBrgb(82, 94, 64)
HSLhsl(84, 19%, 31%)
HSVhsv(84, 32%, 37%)
CMYKcmyk(12.8%, 0%, 31.9%, 63.1%)
CIE-LABlab(38.14, -10.60, 15.71)
CIE-LCHlch(38.14, 18.95, 124.00°)
OKLaboklab(46.3% -0.0286 0.0394)
OKLCHoklch(46.3% 0.049 125.9)
XYZxyz(8.4077, 10.1694, 6.3694)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525E40 #4C405E
analogous
#5E5B40 #525E40 #435E40
triadic
#525E40 #40525E #5E4052
tetradic
#525E40 #405E5B #4C405E #5E4043
square
#525E40 #405E5B #4C405E #5E4043
split-complementary
#525E40 #40435E #5B405E
monochromatic
#12150E #323A27 #525E40 #728259 #91A276

Accessibility & contrast

On white

6.92
#525E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#525E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525E40
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525E40#FFFFFF#000000##FFFFFF
##525E401.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615A3E
Deuteranopia (green-blind)
#5F5A41
Tritanopia (blue-blind)
#545B56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #525e40;
/* rgb */ color: rgb(82, 94, 64);
/* oklch */ color: oklch(46.3% 0.049 125.9);
Tailwind
colors: {
  custom: {
    50: '#838b75',
    500: '#525e40',
    950: '#000000',
  },
}
SCSS
$custom: #525e40;
$custom-light: #838b75;
$custom-dark: #000000;
JSON
{
  "hex": "#525e40",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 64
  },
  "hsl": {
    "h": 84,
    "s": 18.987,
    "l": 30.98
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.04871,
    "h": 125.9
  },
  "luminance": 0.10169
}

Semantic roles & 50–950 ramp

primary
#525E40
secondary
#7A6C8D
accent
#6CBC8C
background
#F8F8F7
surface
#EFF0ED
border
#CACBC8
text
#0A0C08
muted
#7C7D7B

Preview Lab

Preview with #525E40

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

Preview Lab → · Contrast checker → · Palette generator →

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