#566A11#566A11

#566A11 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.1% C 0.112 H 122.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#566A11
RGBrgb(86, 106, 17)
HSLhsl(73, 72%, 24%)
HSVhsv(73, 84%, 42%)
CMYKcmyk(18.9%, 0%, 84%, 58.4%)
CIE-LABlab(41.73, -20.16, 43.22)
CIE-LCHlch(41.73, 47.69, 115.01°)
OKLaboklab(49.08% -0.0595 0.0945)
OKLCHoklch(49.08% 0.112 122.2)
XYZxyz(9.0931, 12.3269, 2.4305)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566A11 #25116A
analogous
#6A5211 #566A11 #2A6A11
triadic
#566A11 #11566A #6A1156
tetradic
#566A11 #116A52 #25116A #6A112A
square
#566A11 #116A52 #25116A #6A112A
split-complementary
#566A11 #112A6A #52116A
monochromatic
#151A04 #2B3509 #566A11 #819F19 #ACD322

Accessibility & contrast

On white

6.06
#566A11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#566A11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566A11
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566A11#FFFFFF#000000##FFFFFF
##566A111.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6E621A
Tritanopia (blue-blind)
#5B645A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #566a11;
/* rgb */ color: rgb(86, 106, 17);
/* oklch */ color: oklch(49.1% 0.112 122.2);
Tailwind
colors: {
  custom: {
    50: '#899458',
    500: '#566a11',
    950: '#000000',
  },
}
SCSS
$custom: #566a11;
$custom-light: #899458;
$custom-dark: #000000;
JSON
{
  "hex": "#566a11",
  "rgb": {
    "r": 86,
    "g": 106,
    "b": 17
  },
  "hsl": {
    "h": 73.483,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49083,
    "c": 0.11171,
    "h": 122.2
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#566A11
secondary
#4D35A2
accent
#39EF62
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #566A11

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

Preview Lab → · Contrast checker → · Palette generator →

#566A11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva