#526A17#526A17

#526A17 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.8% C 0.110 H 124.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#526A17
RGBrgb(82, 106, 23)
HSLhsl(77, 64%, 25%)
HSVhsv(77, 78%, 42%)
CMYKcmyk(22.6%, 0%, 78.3%, 58.4%)
CIE-LABlab(41.48, -21.64, 40.81)
CIE-LCHlch(41.48, 46.19, 117.94°)
OKLaboklab(48.81% -0.0628 0.0906)
OKLCHoklch(48.81% 0.11 124.7)
XYZxyz(8.7884, 12.1637, 2.6953)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526A17 #2F176A
analogous
#6A5817 #526A17 #296A17
triadic
#526A17 #17526A #6A1752
tetradic
#526A17 #176A58 #2F176A #6A1729
square
#526A17 #176A58 #2F176A #6A1729
split-complementary
#526A17 #17296A #58176A
monochromatic
#131905 #2B380C #526A17 #799C22 #A0CF2D

Accessibility & contrast

On white

6.12
#526A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#526A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526A17
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526A17#FFFFFF#000000##FFFFFF
##526A171.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706306
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#56655A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #526a17;
/* rgb */ color: rgb(82, 106, 23);
/* oklch */ color: oklch(48.8% 0.110 124.7);
Tailwind
colors: {
  custom: {
    50: '#85945b',
    500: '#526a17',
    950: '#000000',
  },
}
SCSS
$custom: #526a17;
$custom-light: #85945b;
$custom-dark: #000000;
JSON
{
  "hex": "#526a17",
  "rgb": {
    "r": 82,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 77.349,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48812,
    "c": 0.11028,
    "h": 124.7
  },
  "luminance": 0.12164
}

Semantic roles & 50–950 ramp

primary
#526A17
secondary
#593DA0
accent
#40E771
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526A17

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

Preview Lab → · Contrast checker → · Palette generator →

#526A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva