#566917#566917

#566917 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.9% C 0.107 H 122.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#566917
RGBrgb(86, 105, 23)
HSLhsl(74, 64%, 25%)
HSVhsv(74, 78%, 41%)
CMYKcmyk(18.1%, 0%, 78.1%, 58.8%)
CIE-LABlab(41.44, -19.33, 40.88)
CIE-LCHlch(41.44, 45.22, 115.31°)
OKLaboklab(48.86% -0.0568 0.0907)
OKLCHoklch(48.86% 0.107 122)
XYZxyz(9.0441, 12.1434, 2.6779)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566917 #2A1769
analogous
#695317 #566917 #2D6917
triadic
#566917 #175669 #691756
tetradic
#566917 #176953 #2A1769 #69172D
square
#566917 #176953 #2A1769 #69172D
split-complementary
#566917 #172D69 #531769
monochromatic
#151905 #2D370C #566917 #7F9B22 #A8CD2D

Accessibility & contrast

On white

6.12
#566917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#566917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566917
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566917#FFFFFF#000000##FFFFFF
##5669171.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706206
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#5B6359
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #566917;
/* rgb */ color: rgb(86, 105, 23);
/* oklch */ color: oklch(48.9% 0.107 122.0);
Tailwind
colors: {
  custom: {
    50: '#88935b',
    500: '#566917',
    950: '#000000',
  },
}
SCSS
$custom: #566917;
$custom-light: #88935b;
$custom-dark: #000000;
JSON
{
  "hex": "#566917",
  "rgb": {
    "r": 86,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 73.902,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48861,
    "c": 0.10697,
    "h": 122
  },
  "luminance": 0.12143
}

Semantic roles & 50–950 ramp

primary
#566917
secondary
#533D9F
accent
#41E767
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #566917

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

Preview Lab → · Contrast checker → · Palette generator →

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