#566F17#566F17

#566F17 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.4% C 0.115 H 124.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#566F17
RGBrgb(86, 111, 23)
HSLhsl(77, 66%, 26%)
HSVhsv(77, 79%, 44%)
CMYKcmyk(22.5%, 0%, 79.3%, 56.5%)
CIE-LABlab(43.37, -22.45, 42.72)
CIE-LCHlch(43.37, 48.26, 117.72°)
OKLaboklab(50.42% -0.0653 0.0945)
OKLCHoklch(50.42% 0.115 124.6)
XYZxyz(9.6769, 13.4091, 2.8888)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566F17 #30176F
analogous
#6F5C17 #566F17 #2A6F17
triadic
#566F17 #17566F #6F1756
tetradic
#566F17 #176F5C #30176F #6F172A
square
#566F17 #176F5C #30176F #6F172A
split-complementary
#566F17 #172A6F #5C176F
monochromatic
#141905 #2F3C0C #566F17 #7DA222 #A4D32D

Accessibility & contrast

On white

5.70
#566F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#566F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566F17
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566F17#FFFFFF#000000##FFFFFF
##566F171.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766703
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#5A695E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #566f17;
/* rgb */ color: rgb(86, 111, 23);
/* oklch */ color: oklch(50.4% 0.115 124.6);
Tailwind
colors: {
  custom: {
    50: '#89985c',
    500: '#566f17',
    950: '#000000',
  },
}
SCSS
$custom: #566f17;
$custom-light: #89985c;
$custom-dark: #000000;
JSON
{
  "hex": "#566f17",
  "rgb": {
    "r": 86,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 77.045,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50422,
    "c": 0.11489,
    "h": 124.6
  },
  "luminance": 0.13409
}

Semantic roles & 50–950 ramp

primary
#566F17
secondary
#5A3DA5
accent
#3FE96F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #566F17

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

Preview Lab → · Contrast checker → · Palette generator →

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