#526117#526117

#526117 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.5% C 0.098 H 120.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#526117
RGBrgb(82, 97, 23)
HSLhsl(72, 62%, 24%)
HSVhsv(72, 76%, 38%)
CMYKcmyk(15.5%, 0%, 76.3%, 62%)
CIE-LABlab(38.56, -16.88, 37.98)
CIE-LCHlch(38.56, 41.56, 113.97°)
OKLaboklab(46.46% -0.0498 0.0847)
OKLCHoklch(46.46% 0.098 120.4)
XYZxyz(7.9092, 10.4051, 2.4022)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526117 #261761
analogous
#614B17 #526117 #2D6117
triadic
#526117 #175261 #611752
tetradic
#526117 #17614B #261761 #61172D
square
#526117 #17614B #261761 #61172D
split-complementary
#526117 #172D61 #4B1761
monochromatic
#151906 #28300B #526117 #7C9223 #A6C42E

Accessibility & contrast

On white

6.82
#526117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#526117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526117
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526117#FFFFFF#000000##FFFFFF
##5261171.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0A
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#575C53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #526117;
/* rgb */ color: rgb(82, 97, 23);
/* oklch */ color: oklch(46.5% 0.098 120.4);
Tailwind
colors: {
  custom: {
    50: '#858d5a',
    500: '#526117',
    950: '#000000',
  },
}
SCSS
$custom: #526117;
$custom-light: #858d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#526117",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 72.162,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46458,
    "c": 0.09822,
    "h": 120.4
  },
  "luminance": 0.10405
}

Semantic roles & 50–950 ramp

primary
#526117
secondary
#4F3C98
accent
#43E564
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526117

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

Preview Lab → · Contrast checker → · Palette generator →

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