#526D17#526D17

#526D17 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.6% C 0.114 H 125.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#526D17
RGBrgb(82, 109, 23)
HSLhsl(79, 65%, 26%)
HSVhsv(79, 79%, 43%)
CMYKcmyk(24.8%, 0%, 78.9%, 57.3%)
CIE-LABlab(42.45, -23.17, 41.74)
CIE-LCHlch(42.45, 47.74, 119.04°)
OKLaboklab(49.6% -0.067 0.0926)
OKLCHoklch(49.6% 0.114 125.9)
XYZxyz(9.1030, 12.7928, 2.8001)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526D17 #32176D
analogous
#6D5D17 #526D17 #276D17
triadic
#526D17 #17526D #6D1752
tetradic
#526D17 #176D5D #32176D #6D1727
square
#526D17 #176D5D #32176D #6D1727
split-complementary
#526D17 #17276D #5D176D
monochromatic
#131905 #2C3A0C #526D17 #78A022 #9ED22C

Accessibility & contrast

On white

5.90
#526D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#526D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526D17
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526D17#FFFFFF#000000##FFFFFF
##526D171.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#56675D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #526d17;
/* rgb */ color: rgb(82, 109, 23);
/* oklch */ color: oklch(49.6% 0.114 125.9);
Tailwind
colors: {
  custom: {
    50: '#86975b',
    500: '#526d17',
    950: '#000000',
  },
}
SCSS
$custom: #526d17;
$custom-light: #86975b;
$custom-dark: #000000;
JSON
{
  "hex": "#526d17",
  "rgb": {
    "r": 82,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 78.837,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49602,
    "c": 0.11431,
    "h": 125.9
  },
  "luminance": 0.12793
}

Semantic roles & 50–950 ramp

primary
#526D17
secondary
#5D3DA3
accent
#40E875
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526D17

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

Preview Lab → · Contrast checker → · Palette generator →

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