#526C2A#526C2A

#526C2A is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.5% C 0.098 H 127.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#526C2A
RGBrgb(82, 108, 42)
HSLhsl(84, 44%, 29%)
HSVhsv(84, 61%, 42%)
CMYKcmyk(24.1%, 0%, 61.1%, 57.6%)
CIE-LABlab(42.29, -21.16, 33.18)
CIE-LCHlch(42.29, 39.36, 122.53°)
OKLaboklab(49.52% -0.0597 0.0774)
OKLCHoklch(49.52% 0.098 127.6)
XYZxyz(9.2601, 12.6860, 4.1508)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526C2A #442A6C
analogous
#6C652A #526C2A #316C2A
triadic
#526C2A #2A526C #6C2A52
tetradic
#526C2A #2A6C65 #442A6C #6C2A31
square
#526C2A #2A6C65 #442A6C #6C2A31
split-complementary
#526C2A #2A316C #652A6C
monochromatic
#111609 #314019 #526C2A #73983B #93BC54

Accessibility & contrast

On white

5.94
#526C2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#526C2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526C2A
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526C2A#FFFFFF#000000##FFFFFF
##526C2A1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716523
Deuteranopia (green-blind)
#6E632F
Tritanopia (blue-blind)
#55675E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #526c2a;
/* rgb */ color: rgb(82, 108, 42);
/* oklch */ color: oklch(49.5% 0.098 127.6);
Tailwind
colors: {
  custom: {
    50: '#849666',
    500: '#526c2a',
    950: '#000000',
  },
}
SCSS
$custom: #526c2a;
$custom-light: #849666;
$custom-dark: #000000;
JSON
{
  "hex": "#526c2a",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 42
  },
  "hsl": {
    "h": 83.636,
    "s": 44,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49521,
    "c": 0.09774,
    "h": 127.6
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

primary
#526C2A
secondary
#71549E
accent
#54D486
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #526C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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