#526D2A#526D2A

#526D2A is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.8% C 0.099 H 128.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#526D2A
RGBrgb(82, 109, 42)
HSLhsl(84, 44%, 30%)
HSVhsv(84, 61%, 43%)
CMYKcmyk(24.8%, 0%, 61.5%, 57.3%)
CIE-LABlab(42.61, -21.68, 33.55)
CIE-LCHlch(42.61, 39.94, 122.87°)
OKLaboklab(49.78% -0.0611 0.0782)
OKLCHoklch(49.78% 0.099 128)
XYZxyz(9.3662, 12.8981, 4.1862)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526D2A #452A6D
analogous
#6D672A #526D2A #316D2A
triadic
#526D2A #2A526D #6D2A52
tetradic
#526D2A #2A6D67 #452A6D #6D2A31
square
#526D2A #2A6D67 #452A6D #6D2A31
split-complementary
#526D2A #2A316D #672A6D
monochromatic
#111609 #314119 #526D2A #73993B #93BD54

Accessibility & contrast

On white

5.87
#526D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#526D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526D2A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526D2A#FFFFFF#000000##FFFFFF
##526D2A1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726623
Deuteranopia (green-blind)
#6E642F
Tritanopia (blue-blind)
#55685E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #526d2a;
/* rgb */ color: rgb(82, 109, 42);
/* oklch */ color: oklch(49.8% 0.099 128.0);
Tailwind
colors: {
  custom: {
    50: '#859766',
    500: '#526d2a',
    950: '#000000',
  },
}
SCSS
$custom: #526d2a;
$custom-light: #859766;
$custom-dark: #000000;
JSON
{
  "hex": "#526d2a",
  "rgb": {
    "r": 82,
    "g": 109,
    "b": 42
  },
  "hsl": {
    "h": 84.179,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49782,
    "c": 0.09924,
    "h": 128
  },
  "luminance": 0.12898
}

Semantic roles & 50–950 ramp

primary
#526D2A
secondary
#72549F
accent
#54D487
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #526D2A

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

Preview Lab → · Contrast checker → · Palette generator →

#526D2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva