#526417#526417

#526417 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.2% C 0.102 H 122.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#526417
RGBrgb(82, 100, 23)
HSLhsl(74, 63%, 24%)
HSVhsv(74, 77%, 39%)
CMYKcmyk(18%, 0%, 77%, 60.8%)
CIE-LABlab(39.53, -18.49, 38.92)
CIE-LCHlch(39.53, 43.09, 115.41°)
OKLaboklab(47.24% -0.0542 0.0867)
OKLCHoklch(47.24% 0.102 122)
XYZxyz(8.1916, 10.9700, 2.4963)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526417 #291764
analogous
#645017 #526417 #2C6417
triadic
#526417 #175264 #641752
tetradic
#526417 #176450 #291764 #64172C
square
#526417 #176450 #291764 #64172C
split-complementary
#526417 #172C64 #501764
monochromatic
#141906 #29320C #526417 #7B9622 #A4C82E

Accessibility & contrast

On white

6.57
#526417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#526417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526417
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526417#FFFFFF#000000##FFFFFF
##5264171.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E08
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#575F55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #526417;
/* rgb */ color: rgb(82, 100, 23);
/* oklch */ color: oklch(47.2% 0.102 122.0);
Tailwind
colors: {
  custom: {
    50: '#85905a',
    500: '#526417',
    950: '#000000',
  },
}
SCSS
$custom: #526417;
$custom-light: #85905a;
$custom-dark: #000000;
JSON
{
  "hex": "#526417",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 74.026,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4724,
    "c": 0.10224,
    "h": 122
  },
  "luminance": 0.1097
}

Semantic roles & 50–950 ramp

primary
#526417
secondary
#523C9A
accent
#42E668
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526417

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

Preview Lab → · Contrast checker → · Palette generator →

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