#526015#526015

#526015 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#526015
RGBrgb(82, 96, 21)
HSLhsl(71, 64%, 23%)
HSVhsv(71, 78%, 38%)
CMYKcmyk(14.6%, 0%, 78.1%, 62.4%)
CIE-LABlab(38.22, -16.46, 38.44)
CIE-LCHlch(38.22, 41.82, 113.18°)
OKLaboklab(46.18% -0.0488 0.0853)
OKLCHoklch(46.18% 0.098 119.8)
XYZxyz(7.7981, 10.2138, 2.2700)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526015 #231560
analogous
#604815 #526015 #2C6015
triadic
#526015 #155260 #601552
tetradic
#526015 #156048 #231560 #60152C
square
#526015 #156048 #231560 #60152C
split-complementary
#526015 #152C60 #481560
monochromatic
#151905 #272E0A #526015 #7D9220 #A8C42B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526015#FFFFFF#000000##FFFFFF
##5260151.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)
#675A06
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#575A52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #526015;
/* rgb */ color: rgb(82, 96, 21);
/* oklch */ color: oklch(46.2% 0.098 119.8);
Tailwind
colors: {
  custom: {
    50: '#858d59',
    500: '#526015',
    950: '#000000',
  },
}
SCSS
$custom: #526015;
$custom-light: #858d59;
$custom-dark: #000000;
JSON
{
  "hex": "#526015",
  "rgb": {
    "r": 82,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 71.2,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46182,
    "c": 0.09827,
    "h": 119.8
  },
  "luminance": 0.10214
}

Semantic roles & 50–950 ramp

primary
#526015
secondary
#4B3A97
accent
#41E760
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526015

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

Preview Lab → · Contrast checker → · Palette generator →

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