#526515#526515

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

Color values

HEX#526515
RGBrgb(82, 101, 21)
HSLhsl(74, 66%, 24%)
HSVhsv(74, 79%, 40%)
CMYKcmyk(18.8%, 0%, 79.2%, 60.4%)
CIE-LABlab(39.84, -19.14, 39.99)
CIE-LCHlch(39.84, 44.34, 115.58°)
OKLaboklab(47.49% -0.0562 0.0886)
OKLCHoklch(47.49% 0.105 122.4)
XYZxyz(8.2688, 11.1553, 2.4269)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526515 #281565
analogous
#655015 #526515 #2A6515
triadic
#526515 #155265 #651552
tetradic
#526515 #156550 #281565 #65152A
square
#526515 #156550 #281565 #65152A
split-complementary
#526515 #152A65 #501565
monochromatic
#151905 #29320A #526515 #7B9820 #A4CA2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526515#FFFFFF#000000##FFFFFF
##5265151.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)
#6B5E04
Deuteranopia (green-blind)
#695E1C
Tritanopia (blue-blind)
#575F56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #526515;
/* rgb */ color: rgb(82, 101, 21);
/* oklch */ color: oklch(47.5% 0.105 122.4);
Tailwind
colors: {
  custom: {
    50: '#859159',
    500: '#526515',
    950: '#000000',
  },
}
SCSS
$custom: #526515;
$custom-light: #859159;
$custom-dark: #000000;
JSON
{
  "hex": "#526515",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 74.25,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.10487,
    "h": 122.4
  },
  "luminance": 0.11155
}

Semantic roles & 50–950 ramp

primary
#526515
secondary
#513A9C
accent
#3FE967
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526515

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

Preview Lab → · Contrast checker → · Palette generator →

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