#526116#526116

#526116 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.5% C 0.099 H 120.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#526116
RGBrgb(82, 97, 22)
HSLhsl(72, 63%, 23%)
HSVhsv(72, 77%, 38%)
CMYKcmyk(15.5%, 0%, 77.3%, 62%)
CIE-LABlab(38.55, -16.94, 38.37)
CIE-LCHlch(38.55, 41.94, 113.83°)
OKLaboklab(46.45% -0.05 0.0853)
OKLCHoklch(46.45% 0.099 120.4)
XYZxyz(7.8993, 10.4012, 2.3504)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526116 #251661
analogous
#614A16 #526116 #2C6116
triadic
#526116 #165261 #611652
tetradic
#526116 #16614A #251661 #61162C
square
#526116 #16614A #251661 #61162C
split-complementary
#526116 #162C61 #4A1661
monochromatic
#151906 #282F0B #526116 #7C9321 #A6C52D

Accessibility & contrast

On white

6.82
#526116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#526116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526116
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526116#FFFFFF#000000##FFFFFF
##5261161.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B08
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#575C53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #526116;
/* rgb */ color: rgb(82, 97, 22);
/* oklch */ color: oklch(46.5% 0.099 120.4);
Tailwind
colors: {
  custom: {
    50: '#858d59',
    500: '#526116',
    950: '#000000',
  },
}
SCSS
$custom: #526116;
$custom-light: #858d59;
$custom-dark: #000000;
JSON
{
  "hex": "#526116",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 22
  },
  "hsl": {
    "h": 72,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4645,
    "c": 0.09892,
    "h": 120.4
  },
  "luminance": 0.10401
}

Semantic roles & 50–950 ramp

primary
#526116
secondary
#4D3B98
accent
#42E663
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526116

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

Preview Lab → · Contrast checker → · Palette generator →

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