#526215#526215

#526215 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.7% C 0.101 H 120.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#526215
RGBrgb(82, 98, 21)
HSLhsl(72, 65%, 23%)
HSVhsv(72, 79%, 38%)
CMYKcmyk(16.3%, 0%, 78.6%, 61.6%)
CIE-LABlab(38.87, -17.54, 39.06)
CIE-LCHlch(38.87, 42.82, 114.18°)
OKLaboklab(46.7% -0.0518 0.0866)
OKLCHoklch(46.7% 0.101 120.9)
XYZxyz(7.9829, 10.5834, 2.3316)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526215 #251562
analogous
#624B15 #526215 #2B6215
triadic
#526215 #155262 #621552
tetradic
#526215 #15624B #251562 #62152B
square
#526215 #15624B #251562 #62152B
split-complementary
#526215 #152B62 #4B1562
monochromatic
#151905 #28300A #526215 #7C9420 #A6C72B

Accessibility & contrast

On white

6.74
#526215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#526215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526215
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526215#FFFFFF#000000##FFFFFF
##5262151.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C06
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#575C53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #526215;
/* rgb */ color: rgb(82, 98, 21);
/* oklch */ color: oklch(46.7% 0.101 120.9);
Tailwind
colors: {
  custom: {
    50: '#858e59',
    500: '#526215',
    950: '#000000',
  },
}
SCSS
$custom: #526215;
$custom-light: #858e59;
$custom-dark: #000000;
JSON
{
  "hex": "#526215",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 72.468,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46703,
    "c": 0.1009,
    "h": 120.9
  },
  "luminance": 0.10583
}

Semantic roles & 50–950 ramp

primary
#526215
secondary
#4E3A99
accent
#40E863
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526215

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

Preview Lab → · Contrast checker → · Palette generator →

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