#526217#526217

#526217 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.7% C 0.100 H 121.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#526217
RGBrgb(82, 98, 23)
HSLhsl(73, 62%, 24%)
HSVhsv(73, 77%, 38%)
CMYKcmyk(16.3%, 0%, 76.5%, 61.6%)
CIE-LABlab(38.88, -17.42, 38.29)
CIE-LCHlch(38.88, 42.07, 114.47°)
OKLaboklab(46.72% -0.0512 0.0854)
OKLCHoklch(46.72% 0.1 121)
XYZxyz(8.0021, 10.5911, 2.4332)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526217 #271762
analogous
#624C17 #526217 #2C6217
triadic
#526217 #175262 #621752
tetradic
#526217 #17624C #271762 #62172C
square
#526217 #17624C #271762 #62172C
split-complementary
#526217 #172C62 #4C1762
monochromatic
#151906 #29300B #526217 #7B9423 #A5C52E

Accessibility & contrast

On white

6.73
#526217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#526217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526217
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526217#FFFFFF#000000##FFFFFF
##5262171.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C09
Deuteranopia (green-blind)
#665C1D
Tritanopia (blue-blind)
#575D53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #526217;
/* rgb */ color: rgb(82, 98, 23);
/* oklch */ color: oklch(46.7% 0.100 121.0);
Tailwind
colors: {
  custom: {
    50: '#858e5a',
    500: '#526217',
    950: '#000000',
  },
}
SCSS
$custom: #526217;
$custom-light: #858e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#526217",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 72.8,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46718,
    "c": 0.09955,
    "h": 121
  },
  "luminance": 0.10591
}

Semantic roles & 50–950 ramp

primary
#526217
secondary
#503C99
accent
#43E565
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526217

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

Preview Lab → · Contrast checker → · Palette generator →

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