#526216#526216

#526216 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.7% C 0.100 H 120.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#526216
RGBrgb(82, 98, 22)
HSLhsl(73, 63%, 24%)
HSVhsv(73, 78%, 38%)
CMYKcmyk(16.3%, 0%, 77.6%, 61.6%)
CIE-LABlab(38.88, -17.48, 38.68)
CIE-LCHlch(38.88, 42.45, 114.32°)
OKLaboklab(46.71% -0.0515 0.086)
OKLCHoklch(46.71% 0.1 120.9)
XYZxyz(7.9923, 10.5871, 2.3814)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526216 #261662
analogous
#624C16 #526216 #2C6216
triadic
#526216 #165262 #621652
tetradic
#526216 #16624C #261662 #62162C
square
#526216 #16624C #261662 #62162C
split-complementary
#526216 #162C62 #4C1662
monochromatic
#151906 #28300B #526216 #7C9421 #A6C62C

Accessibility & contrast

On white

6.74
#526216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#526216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526216
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526216#FFFFFF#000000##FFFFFF
##5262161.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C07
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#575D53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #526216;
/* rgb */ color: rgb(82, 98, 22);
/* oklch */ color: oklch(46.7% 0.100 120.9);
Tailwind
colors: {
  custom: {
    50: '#858e59',
    500: '#526216',
    950: '#000000',
  },
}
SCSS
$custom: #526216;
$custom-light: #858e59;
$custom-dark: #000000;
JSON
{
  "hex": "#526216",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 72.632,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4671,
    "c": 0.10024,
    "h": 120.9
  },
  "luminance": 0.10587
}

Semantic roles & 50–950 ramp

primary
#526216
secondary
#4F3B99
accent
#41E664
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526216

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

Preview Lab → · Contrast checker → · Palette generator →

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