#526516#526516

#526516 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.5% C 0.104 H 122.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#526516
RGBrgb(82, 101, 22)
HSLhsl(74, 64%, 24%)
HSVhsv(74, 78%, 40%)
CMYKcmyk(18.8%, 0%, 78.2%, 60.4%)
CIE-LABlab(39.85, -19.09, 39.62)
CIE-LCHlch(39.85, 43.98, 115.72°)
OKLaboklab(47.49% -0.0559 0.088)
OKLCHoklch(47.49% 0.104 122.5)
XYZxyz(8.2783, 11.1591, 2.4767)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526516 #291665
analogous
#655116 #526516 #2B6516
triadic
#526516 #165265 #651652
tetradic
#526516 #166551 #291665 #65162B
square
#526516 #166551 #291665 #65162B
split-complementary
#526516 #162B65 #511665
monochromatic
#141905 #29330B #526516 #7B9721 #A4CA2C

Accessibility & contrast

On white

6.50
#526516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#526516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526516
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526516#FFFFFF#000000##FFFFFF
##5265161.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E06
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#576056
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #526516;
/* rgb */ color: rgb(82, 101, 22);
/* oklch */ color: oklch(47.5% 0.104 122.5);
Tailwind
colors: {
  custom: {
    50: '#85915a',
    500: '#526516',
    950: '#000000',
  },
}
SCSS
$custom: #526516;
$custom-light: #85915a;
$custom-dark: #000000;
JSON
{
  "hex": "#526516",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 74.43,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47494,
    "c": 0.10424,
    "h": 122.5
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#526516
secondary
#523B9C
accent
#41E769
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526516

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

Preview Lab → · Contrast checker → · Palette generator →

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