#526017#526017

#526017 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.2% C 0.097 H 119.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#526017
RGBrgb(82, 96, 23)
HSLhsl(72, 61%, 23%)
HSVhsv(72, 76%, 38%)
CMYKcmyk(14.6%, 0%, 76%, 62.4%)
CIE-LABlab(38.24, -16.34, 37.66)
CIE-LCHlch(38.24, 41.05, 113.45°)
OKLaboklab(46.2% -0.0483 0.084)
OKLCHoklch(46.2% 0.097 119.9)
XYZxyz(7.8173, 10.2215, 2.3716)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526017 #251760
analogous
#604917 #526017 #2D6017
triadic
#526017 #175260 #601752
tetradic
#526017 #176049 #251760 #60172D
square
#526017 #176049 #251760 #60172D
split-complementary
#526017 #172D60 #491760
monochromatic
#151906 #282F0B #526017 #7C9123 #A6C32F

Accessibility & contrast

On white

6.90
#526017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#526017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526017
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526017#FFFFFF#000000##FFFFFF
##5260171.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0A
Deuteranopia (green-blind)
#655A1D
Tritanopia (blue-blind)
#575B52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #526017;
/* rgb */ color: rgb(82, 96, 23);
/* oklch */ color: oklch(46.2% 0.097 119.9);
Tailwind
colors: {
  custom: {
    50: '#858d5a',
    500: '#526017',
    950: '#000000',
  },
}
SCSS
$custom: #526017;
$custom-light: #858d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#526017",
  "rgb": {
    "r": 82,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 71.507,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46197,
    "c": 0.09689,
    "h": 119.9
  },
  "luminance": 0.10221
}

Semantic roles & 50–950 ramp

primary
#526017
secondary
#4D3C97
accent
#43E462
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526017

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

Preview Lab → · Contrast checker → · Palette generator →

#526017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva