#526617#526617

#526617 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.8% C 0.105 H 123.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#526617
RGBrgb(82, 102, 23)
HSLhsl(75, 63%, 25%)
HSVhsv(75, 77%, 40%)
CMYKcmyk(19.6%, 0%, 77.5%, 60%)
CIE-LABlab(40.18, -19.56, 39.55)
CIE-LCHlch(40.18, 44.12, 116.31°)
OKLaboklab(47.76% -0.0571 0.088)
OKLCHoklch(47.76% 0.105 123)
XYZxyz(8.3858, 11.3584, 2.5610)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526617 #2B1766
analogous
#665317 #526617 #2B6617
triadic
#526617 #175266 #661752
tetradic
#526617 #176653 #2B1766 #66172B
square
#526617 #176653 #2B1766 #66172B
split-complementary
#526617 #172B66 #531766
monochromatic
#141906 #2A340C #526617 #7A9822 #A2CA2E

Accessibility & contrast

On white

6.42
#526617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#526617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526617
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526617#FFFFFF#000000##FFFFFF
##5266171.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F08
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#576157
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #526617;
/* rgb */ color: rgb(82, 102, 23);
/* oklch */ color: oklch(47.8% 0.105 123.0);
Tailwind
colors: {
  custom: {
    50: '#85915a',
    500: '#526617',
    950: '#000000',
  },
}
SCSS
$custom: #526617;
$custom-light: #85915a;
$custom-dark: #000000;
JSON
{
  "hex": "#526617",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 75.19,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47763,
    "c": 0.10491,
    "h": 123
  },
  "luminance": 0.11358
}

Semantic roles & 50–950 ramp

primary
#526617
secondary
#553C9C
accent
#42E66B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526617

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

Preview Lab → · Contrast checker → · Palette generator →

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