#526B17#526B17

#526B17 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.1% C 0.112 H 125.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#526B17
RGBrgb(82, 107, 23)
HSLhsl(78, 65%, 25%)
HSVhsv(78, 79%, 42%)
CMYKcmyk(23.4%, 0%, 78.5%, 58%)
CIE-LABlab(41.80, -22.15, 41.12)
CIE-LCHlch(41.80, 46.71, 118.32°)
OKLaboklab(49.08% -0.0642 0.0913)
OKLCHoklch(49.08% 0.112 125.1)
XYZxyz(8.8921, 12.3710, 2.7298)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526B17 #30176B
analogous
#6B5A17 #526B17 #286B17
triadic
#526B17 #17526B #6B1752
tetradic
#526B17 #176B5A #30176B #6B1728
square
#526B17 #176B5A #30176B #6B1728
split-complementary
#526B17 #17286B #5A176B
monochromatic
#131905 #2B390C #526B17 #799D22 #9FD02D

Accessibility & contrast

On white

6.04
#526B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#526B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526B17
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526B17#FFFFFF#000000##FFFFFF
##526B171.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716405
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#56665B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #526b17;
/* rgb */ color: rgb(82, 107, 23);
/* oklch */ color: oklch(49.1% 0.112 125.1);
Tailwind
colors: {
  custom: {
    50: '#86955b',
    500: '#526b17',
    950: '#000000',
  },
}
SCSS
$custom: #526b17;
$custom-light: #86955b;
$custom-dark: #000000;
JSON
{
  "hex": "#526b17",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 77.857,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49075,
    "c": 0.11163,
    "h": 125.1
  },
  "luminance": 0.12371
}

Semantic roles & 50–950 ramp

primary
#526B17
secondary
#5B3DA1
accent
#40E872
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526B17

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

Preview Lab → · Contrast checker → · Palette generator →

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