#526F17#526F17

#526F17 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.117 H 126.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#526F17
RGBrgb(82, 111, 23)
HSLhsl(80, 66%, 26%)
HSVhsv(80, 79%, 44%)
CMYKcmyk(26.1%, 0%, 79.3%, 56.5%)
CIE-LABlab(43.10, -24.18, 42.36)
CIE-LCHlch(43.10, 48.78, 119.72°)
OKLaboklab(50.13% -0.0698 0.0939)
OKLCHoklch(50.13% 0.117 126.6)
XYZxyz(9.3188, 13.2244, 2.8721)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F17 #34176F
analogous
#6F6017 #526F17 #266F17
triadic
#526F17 #17526F #6F1752
tetradic
#526F17 #176F60 #34176F #6F1726
square
#526F17 #176F60 #34176F #6F1726
split-complementary
#526F17 #17266F #60176F
monochromatic
#131905 #2D3C0C #526F17 #77A222 #9DD32D

Accessibility & contrast

On white

5.76
#526F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#526F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526F17
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526F17#FFFFFF#000000##FFFFFF
##526F171.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756703
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#56695E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f17;
/* rgb */ color: rgb(82, 111, 23);
/* oklch */ color: oklch(50.1% 0.117 126.6);
Tailwind
colors: {
  custom: {
    50: '#86985c',
    500: '#526f17',
    950: '#000000',
  },
}
SCSS
$custom: #526f17;
$custom-light: #86985c;
$custom-dark: #000000;
JSON
{
  "hex": "#526f17",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 79.773,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50129,
    "c": 0.11699,
    "h": 126.6
  },
  "luminance": 0.13225
}

Semantic roles & 50–950 ramp

primary
#526F17
secondary
#5F3DA5
accent
#3FE977
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526F17

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

Preview Lab → · Contrast checker → · Palette generator →

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