#566A16#566A16

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

Color values

HEX#566A16
RGBrgb(86, 106, 22)
HSLhsl(74, 66%, 25%)
HSVhsv(74, 79%, 42%)
CMYKcmyk(18.9%, 0%, 79.2%, 58.4%)
CIE-LABlab(41.76, -19.91, 41.55)
CIE-LCHlch(41.76, 46.07, 115.61°)
OKLaboklab(49.11% -0.0584 0.0919)
OKLCHoklch(49.11% 0.109 122.5)
XYZxyz(9.1367, 12.3444, 2.6603)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566A16 #2A166A
analogous
#6A5416 #566A16 #2C6A16
triadic
#566A16 #16566A #6A1656
tetradic
#566A16 #166A54 #2A166A #6A162C
square
#566A16 #166A54 #2A166A #6A162C
split-complementary
#566A16 #162C6A #54166A
monochromatic
#151905 #2D370B #566A16 #7F9D21 #A8CF2B

Accessibility & contrast

On white

6.05
#566A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #566A16
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566A16#FFFFFF#000000##FFFFFF
##566A161.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #566a16;
/* rgb */ color: rgb(86, 106, 22);
/* oklch */ color: oklch(49.1% 0.109 122.5);
Tailwind
colors: {
  custom: {
    50: '#88945b',
    500: '#566a16',
    950: '#000000',
  },
}
SCSS
$custom: #566a16;
$custom-light: #88945b;
$custom-dark: #000000;
JSON
{
  "hex": "#566a16",
  "rgb": {
    "r": 86,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 74.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49114,
    "c": 0.10891,
    "h": 122.5
  },
  "luminance": 0.12344
}

Semantic roles & 50–950 ramp

primary
#566A16
secondary
#533BA0
accent
#3FE968
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #566A16

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

Preview Lab → · Contrast checker → · Palette generator →

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