#566516#566516

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

Color values

HEX#566516
RGBrgb(86, 101, 22)
HSLhsl(71, 64%, 24%)
HSVhsv(71, 78%, 40%)
CMYKcmyk(14.9%, 0%, 78.2%, 60.4%)
CIE-LABlab(40.15, -17.26, 40.02)
CIE-LCHlch(40.15, 43.58, 113.32°)
OKLaboklab(47.82% -0.0511 0.0887)
OKLCHoklch(47.82% 0.102 120)
XYZxyz(8.6364, 11.3438, 2.4935)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566516 #251665
analogous
#654D16 #566516 #2F6516
triadic
#566516 #165665 #651656
tetradic
#566516 #16654D #251665 #65162F
square
#566516 #16654D #251665 #65162F
split-complementary
#566516 #162F65 #4D1665
monochromatic
#151905 #2B330B #566516 #819721 #ACCA2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##566516#FFFFFF#000000##FFFFFF
##5665161.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)
#6C5F06
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#5B5F56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #566516;
/* rgb */ color: rgb(86, 101, 22);
/* oklch */ color: oklch(47.8% 0.102 120.0);
Tailwind
colors: {
  custom: {
    50: '#88905a',
    500: '#566516',
    950: '#000000',
  },
}
SCSS
$custom: #566516;
$custom-light: #88905a;
$custom-dark: #000000;
JSON
{
  "hex": "#566516",
  "rgb": {
    "r": 86,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 71.392,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47819,
    "c": 0.10237,
    "h": 120
  },
  "luminance": 0.11344
}

Semantic roles & 50–950 ramp

primary
#566516
secondary
#4D3B9C
accent
#41E760
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #566516

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

Preview Lab → · Contrast checker → · Palette generator →

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