#526E17#526E17

#526E17 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.9% C 0.116 H 126.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#526E17
RGBrgb(82, 110, 23)
HSLhsl(79, 65%, 26%)
HSVhsv(79, 79%, 43%)
CMYKcmyk(25.5%, 0%, 79.1%, 56.9%)
CIE-LABlab(42.77, -23.68, 42.05)
CIE-LCHlch(42.77, 48.26, 119.38°)
OKLaboklab(49.86% -0.0684 0.0933)
OKLCHoklch(49.86% 0.116 126.3)
XYZxyz(9.2103, 13.0074, 2.8359)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526E17 #33176E
analogous
#6E5E17 #526E17 #266E17
triadic
#526E17 #17526E #6E1752
tetradic
#526E17 #176E5E #33176E #6E1726
square
#526E17 #176E5E #33176E #6E1726
split-complementary
#526E17 #17266E #5E176E
monochromatic
#131905 #2C3B0C #526E17 #78A122 #9DD32C

Accessibility & contrast

On white

5.83
#526E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#526E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526E17
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526E17#FFFFFF#000000##FFFFFF
##526E171.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#70651F
Tritanopia (blue-blind)
#56685E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #526e17;
/* rgb */ color: rgb(82, 110, 23);
/* oklch */ color: oklch(49.9% 0.116 126.3);
Tailwind
colors: {
  custom: {
    50: '#86975c',
    500: '#526e17',
    950: '#000000',
  },
}
SCSS
$custom: #526e17;
$custom-light: #86975c;
$custom-dark: #000000;
JSON
{
  "hex": "#526e17",
  "rgb": {
    "r": 82,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 79.31,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49865,
    "c": 0.11565,
    "h": 126.3
  },
  "luminance": 0.13008
}

Semantic roles & 50–950 ramp

primary
#526E17
secondary
#5E3DA4
accent
#3FE876
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526E17

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

Preview Lab → · Contrast checker → · Palette generator →

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