#566F16#566F16

#566F16 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#566F16
RGBrgb(86, 111, 22)
HSLhsl(77, 67%, 26%)
HSVhsv(77, 80%, 44%)
CMYKcmyk(22.5%, 0%, 80.2%, 56.5%)
CIE-LABlab(43.37, -22.50, 43.06)
CIE-LCHlch(43.37, 48.59, 117.59°)
OKLaboklab(50.42% -0.0655 0.0951)
OKLCHoklch(50.42% 0.115 124.6)
XYZxyz(9.6671, 13.4051, 2.8371)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566F16 #2F166F
analogous
#6F5B16 #566F16 #296F16
triadic
#566F16 #16566F #6F1656
tetradic
#566F16 #166F5B #2F166F #6F1629
square
#566F16 #166F5B #2F166F #6F1629
split-complementary
#566F16 #16296F #5B166F
monochromatic
#141A05 #2E3C0C #566F16 #7EA220 #A5D52B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##566F16#FFFFFF#000000##FFFFFF
##566F161.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)
#766701
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#5A695E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #566f16;
/* rgb */ color: rgb(86, 111, 22);
/* oklch */ color: oklch(50.4% 0.115 124.6);
Tailwind
colors: {
  custom: {
    50: '#89985b',
    500: '#566f16',
    950: '#000000',
  },
}
SCSS
$custom: #566f16;
$custom-light: #89985b;
$custom-dark: #000000;
JSON
{
  "hex": "#566f16",
  "rgb": {
    "r": 86,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 76.854,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50415,
    "c": 0.11548,
    "h": 124.6
  },
  "luminance": 0.13405
}

Semantic roles & 50–950 ramp

primary
#566F16
secondary
#593CA5
accent
#3EEA6E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #566F16

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

Preview Lab → · Contrast checker → · Palette generator →

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