#526210#526210

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

Color values

HEX#526210
RGBrgb(82, 98, 16)
HSLhsl(72, 72%, 22%)
HSVhsv(72, 84%, 38%)
CMYKcmyk(16.3%, 0%, 83.7%, 61.6%)
CIE-LABlab(38.84, -17.80, 40.82)
CIE-LCHlch(38.84, 44.53, 113.56°)
OKLaboklab(46.67% -0.0529 0.0894)
OKLCHoklch(46.67% 0.104 120.6)
XYZxyz(7.9410, 10.5666, 2.1113)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526210 #201062
analogous
#624910 #526210 #296210
triadic
#526210 #105262 #621052
tetradic
#526210 #106249 #201062 #621029
square
#526210 #106249 #201062 #621029
split-complementary
#526210 #102962 #491062
monochromatic
#161A04 #262D07 #526210 #7E9719 #AACB21

Accessibility & contrast

On white

6.75
#526210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#526210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526210
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526210#FFFFFF#000000##FFFFFF
##5262101.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#675C18
Tritanopia (blue-blind)
#575C53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #526210;
/* rgb */ color: rgb(82, 98, 16);
/* oklch */ color: oklch(46.7% 0.104 120.6);
Tailwind
colors: {
  custom: {
    50: '#858e57',
    500: '#526210',
    950: '#000000',
  },
}
SCSS
$custom: #526210;
$custom-light: #858e57;
$custom-dark: #000000;
JSON
{
  "hex": "#526210",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 71.707,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4667,
    "c": 0.10386,
    "h": 120.6
  },
  "luminance": 0.10567
}

Semantic roles & 50–950 ramp

primary
#526210
secondary
#47339B
accent
#39EF5D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #526210

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

Preview Lab → · Contrast checker → · Palette generator →

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