#566D15#566D15

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

Color values

HEX#566D15
RGBrgb(86, 109, 21)
HSLhsl(76, 68%, 25%)
HSVhsv(76, 81%, 43%)
CMYKcmyk(21.1%, 0%, 80.7%, 57.3%)
CIE-LABlab(42.72, -21.53, 42.81)
CIE-LCHlch(42.72, 47.91, 116.70°)
OKLaboklab(49.89% -0.063 0.0944)
OKLCHoklch(49.89% 0.113 123.7)
XYZxyz(9.4419, 12.9698, 2.7153)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566D15 #2C156D
analogous
#6D5815 #566D15 #2A6D15
triadic
#566D15 #15566D #6D1556
tetradic
#566D15 #156D58 #2C156D #6D152A
square
#566D15 #156D58 #2C156D #6D152A
split-complementary
#566D15 #152A6D #58156D
monochromatic
#141A05 #2E3A0B #566D15 #7EA01F #A7D429

Accessibility & contrast

On white

5.84
#566D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #566D15
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566D15#FFFFFF#000000##FFFFFF
##566D151.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746601
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#5B675D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #566d15;
/* rgb */ color: rgb(86, 109, 21);
/* oklch */ color: oklch(49.9% 0.113 123.7);
Tailwind
colors: {
  custom: {
    50: '#89975b',
    500: '#566d15',
    950: '#000000',
  },
}
SCSS
$custom: #566d15;
$custom-light: #89975b;
$custom-dark: #000000;
JSON
{
  "hex": "#566d15",
  "rgb": {
    "r": 86,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 75.682,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49888,
    "c": 0.11343,
    "h": 123.7
  },
  "luminance": 0.1297
}

Semantic roles & 50–950 ramp

primary
#566D15
secondary
#563AA3
accent
#3DEB6B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #566D15

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

Preview Lab → · Contrast checker → · Palette generator →

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