#526211#526211

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

Color values

HEX#526211
RGBrgb(82, 98, 17)
HSLhsl(72, 70%, 23%)
HSVhsv(72, 83%, 38%)
CMYKcmyk(16.3%, 0%, 82.7%, 61.6%)
CIE-LABlab(38.85, -17.75, 40.49)
CIE-LCHlch(38.85, 44.21, 113.67°)
OKLaboklab(46.68% -0.0527 0.0889)
OKLCHoklch(46.68% 0.103 120.7)
XYZxyz(7.9487, 10.5697, 2.1516)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526211 #211162
analogous
#624A11 #526211 #296211
triadic
#526211 #115262 #621152
tetradic
#526211 #11624A #211162 #621129
square
#526211 #11624A #211162 #621129
split-complementary
#526211 #112962 #4A1162
monochromatic
#161A05 #262E08 #526211 #7E961A #A9CA23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526211#FFFFFF#000000##FFFFFF
##5262111.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #526211;
/* rgb */ color: rgb(82, 98, 17);
/* oklch */ color: oklch(46.7% 0.103 120.7);
Tailwind
colors: {
  custom: {
    50: '#858e57',
    500: '#526211',
    950: '#000000',
  },
}
SCSS
$custom: #526211;
$custom-light: #858e57;
$custom-dark: #000000;
JSON
{
  "hex": "#526211",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 71.852,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46676,
    "c": 0.10332,
    "h": 120.7
  },
  "luminance": 0.1057
}

Semantic roles & 50–950 ramp

primary
#526211
secondary
#49349A
accent
#3BED5E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #526211

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

Preview Lab → · Contrast checker → · Palette generator →

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