#566D11#566D11

#566D11 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.9% C 0.116 H 123.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#566D11
RGBrgb(86, 109, 17)
HSLhsl(75, 73%, 25%)
HSVhsv(75, 84%, 43%)
CMYKcmyk(21.1%, 0%, 84.4%, 57.3%)
CIE-LABlab(42.70, -21.72, 44.09)
CIE-LCHlch(42.70, 49.15, 116.22°)
OKLaboklab(49.86% -0.0638 0.0964)
OKLCHoklch(49.86% 0.116 123.5)
XYZxyz(9.4077, 12.9561, 2.5354)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566D11 #28116D
analogous
#6D5611 #566D11 #286D11
triadic
#566D11 #11566D #6D1156
tetradic
#566D11 #116D56 #28116D #6D1128
square
#566D11 #116D56 #28116D #6D1128
split-complementary
#566D11 #11286D #56116D
monochromatic
#151A04 #2C3809 #566D11 #80A219 #AAD722

Accessibility & contrast

On white

5.85
#566D11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#566D11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566D11
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566D11#FFFFFF#000000##FFFFFF
##566D111.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#71651B
Tritanopia (blue-blind)
#5B675C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #566d11;
/* rgb */ color: rgb(86, 109, 17);
/* oklch */ color: oklch(49.9% 0.116 123.5);
Tailwind
colors: {
  custom: {
    50: '#899759',
    500: '#566d11',
    950: '#000000',
  },
}
SCSS
$custom: #566d11;
$custom-light: #899759;
$custom-dark: #000000;
JSON
{
  "hex": "#566d11",
  "rgb": {
    "r": 86,
    "g": 109,
    "b": 17
  },
  "hsl": {
    "h": 75,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.49864,
    "c": 0.11556,
    "h": 123.5
  },
  "luminance": 0.12956
}

Semantic roles & 50–950 ramp

primary
#566D11
secondary
#5135A5
accent
#38F066
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #566D11

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

Preview Lab → · Contrast checker → · Palette generator →

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