#526142#526142

#526142 is a mid, muted yellow-green. Relative luminance 0.107; OKLCH L 47.1% C 0.051 H 129.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#526142
RGBrgb(82, 97, 66)
HSLhsl(89, 19%, 32%)
HSVhsv(89, 32%, 38%)
CMYKcmyk(15.5%, 0%, 32%, 62%)
CIE-LABlab(39.13, -11.98, 15.84)
CIE-LCHlch(39.13, 19.86, 127.10°)
OKLaboklab(47.1% -0.0324 0.0398)
OKLCHoklch(47.1% 0.051 129.2)
XYZxyz(8.7376, 10.7365, 6.7652)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526142 #514261
analogous
#616142 #526142 #436142
triadic
#526142 #425261 #614252
tetradic
#526142 #426161 #514261 #614243
square
#526142 #426161 #514261 #614243
split-complementary
#526142 #424361 #614261
monochromatic
#141810 #333D29 #526142 #71855B #8FA479

Accessibility & contrast

On white

6.67
#526142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#526142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526142
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526142#FFFFFF#000000##FFFFFF
##5261421.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645D40
Deuteranopia (green-blind)
#625C43
Tritanopia (blue-blind)
#535E59
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #526142;
/* rgb */ color: rgb(82, 97, 66);
/* oklch */ color: oklch(47.1% 0.051 129.2);
Tailwind
colors: {
  custom: {
    50: '#838e76',
    500: '#526142',
    950: '#000000',
  },
}
SCSS
$custom: #526142;
$custom-light: #838e76;
$custom-dark: #000000;
JSON
{
  "hex": "#526142",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 66
  },
  "hsl": {
    "h": 89.032,
    "s": 19.018,
    "l": 31.961
  },
  "oklch": {
    "l": 0.47104,
    "c": 0.05133,
    "h": 129.2
  },
  "luminance": 0.10737
}

Semantic roles & 50–950 ramp

primary
#526142
secondary
#7F6E90
accent
#6CBC93
background
#F8F8F7
surface
#EFF0ED
border
#CACBC8
text
#0A0C08
muted
#7C7D7B

Preview Lab

Preview with #526142

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

Preview Lab → · Contrast checker → · Palette generator →

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