#526016#526016

#526016 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.2% C 0.098 H 119.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#526016
RGBrgb(82, 96, 22)
HSLhsl(71, 63%, 23%)
HSVhsv(71, 77%, 38%)
CMYKcmyk(14.6%, 0%, 77.1%, 62.4%)
CIE-LABlab(38.23, -16.40, 38.06)
CIE-LCHlch(38.23, 41.44, 113.31°)
OKLaboklab(46.19% -0.0485 0.0847)
OKLCHoklch(46.19% 0.098 119.8)
XYZxyz(7.8075, 10.2175, 2.3198)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526016 #241660
analogous
#604916 #526016 #2D6016
triadic
#526016 #165260 #601652
tetradic
#526016 #166049 #241660 #60162D
square
#526016 #166049 #241660 #60162D
split-complementary
#526016 #162D60 #491660
monochromatic
#151906 #272E0B #526016 #7D9221 #A7C42D

Accessibility & contrast

On white

6.90
#526016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#526016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526016
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526016#FFFFFF#000000##FFFFFF
##5260161.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A08
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#575B52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #526016;
/* rgb */ color: rgb(82, 96, 22);
/* oklch */ color: oklch(46.2% 0.098 119.8);
Tailwind
colors: {
  custom: {
    50: '#858d59',
    500: '#526016',
    950: '#000000',
  },
}
SCSS
$custom: #526016;
$custom-light: #858d59;
$custom-dark: #000000;
JSON
{
  "hex": "#526016",
  "rgb": {
    "r": 82,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 71.351,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4619,
    "c": 0.09759,
    "h": 119.8
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

primary
#526016
secondary
#4C3B97
accent
#42E661
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526016

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

Preview Lab → · Contrast checker → · Palette generator →

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