#526111#526111

#526111 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.4% C 0.102 H 120.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#526111
RGBrgb(82, 97, 17)
HSLhsl(71, 70%, 22%)
HSVhsv(71, 82%, 38%)
CMYKcmyk(15.5%, 0%, 82.5%, 62%)
CIE-LABlab(38.52, -17.21, 40.19)
CIE-LCHlch(38.52, 43.73, 113.18°)
OKLaboklab(46.42% -0.0512 0.0882)
OKLCHoklch(46.42% 0.102 120.1)
XYZxyz(7.8557, 10.3837, 2.1206)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526111 #201161
analogous
#614811 #526111 #2A6111
triadic
#526111 #115261 #611152
tetradic
#526111 #116148 #201161 #61112A
square
#526111 #116148 #201161 #61112A
split-complementary
#526111 #112A61 #481161
monochromatic
#161A05 #262D08 #526111 #7E951A #AAC923

Accessibility & contrast

On white

6.83
#526111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#526111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526111
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526111#FFFFFF#000000##FFFFFF
##5261111.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#575B52
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #526111;
/* rgb */ color: rgb(82, 97, 17);
/* oklch */ color: oklch(46.4% 0.102 120.1);
Tailwind
colors: {
  custom: {
    50: '#858d57',
    500: '#526111',
    950: '#000000',
  },
}
SCSS
$custom: #526111;
$custom-light: #858d57;
$custom-dark: #000000;
JSON
{
  "hex": "#526111",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 17
  },
  "hsl": {
    "h": 71.25,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46415,
    "c": 0.10202,
    "h": 120.1
  },
  "luminance": 0.10384
}

Semantic roles & 50–950 ramp

primary
#526111
secondary
#473499
accent
#3BED5C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #526111

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

Preview Lab → · Contrast checker → · Palette generator →

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