#526C17#526C17

#526C17 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.3% C 0.113 H 125.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#526C17
RGBrgb(82, 108, 23)
HSLhsl(78, 65%, 26%)
HSVhsv(78, 79%, 42%)
CMYKcmyk(24.1%, 0%, 78.7%, 57.6%)
CIE-LABlab(42.12, -22.67, 41.43)
CIE-LCHlch(42.12, 47.22, 118.68°)
OKLaboklab(49.34% -0.0656 0.0919)
OKLCHoklch(49.34% 0.113 125.5)
XYZxyz(8.9970, 12.5807, 2.7648)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526C17 #31176C
analogous
#6C5B17 #526C17 #276C17
triadic
#526C17 #17526C #6C1752
tetradic
#526C17 #176C5B #31176C #6C1727
square
#526C17 #176C5B #31176C #6C1727
split-complementary
#526C17 #17276C #5B176C
monochromatic
#131905 #2C3A0C #526C17 #789E22 #9FD12C

Accessibility & contrast

On white

5.97
#526C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#526C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526C17
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526C17#FFFFFF#000000##FFFFFF
##526C171.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726405
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#56665C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #526c17;
/* rgb */ color: rgb(82, 108, 23);
/* oklch */ color: oklch(49.3% 0.113 125.5);
Tailwind
colors: {
  custom: {
    50: '#86965b',
    500: '#526c17',
    950: '#000000',
  },
}
SCSS
$custom: #526c17;
$custom-light: #86965b;
$custom-dark: #000000;
JSON
{
  "hex": "#526c17",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 78.353,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49338,
    "c": 0.11297,
    "h": 125.5
  },
  "luminance": 0.12581
}

Semantic roles & 50–950 ramp

primary
#526C17
secondary
#5C3DA2
accent
#40E873
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526C17

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

Preview Lab → · Contrast checker → · Palette generator →

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