#566F11#566F11

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

Color values

HEX#566F11
RGBrgb(86, 111, 17)
HSLhsl(76, 73%, 25%)
HSVhsv(76, 85%, 44%)
CMYKcmyk(22.5%, 0%, 84.7%, 56.5%)
CIE-LABlab(43.34, -22.74, 44.67)
CIE-LCHlch(43.34, 50.12, 116.98°)
OKLaboklab(50.39% -0.0666 0.0976)
OKLCHoklch(50.39% 0.118 124.3)
XYZxyz(9.6235, 13.3877, 2.6073)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566F11 #2A116F
analogous
#6F5911 #566F11 #276F11
triadic
#566F11 #11566F #6F1156
tetradic
#566F11 #116F59 #2A116F #6F1127
square
#566F11 #116F59 #2A116F #6F1127
split-complementary
#566F11 #11276F #59116F
monochromatic
#151B04 #2D3A09 #566F11 #7FA419 #A8D921

Accessibility & contrast

On white

5.71
#566F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #566F11
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566F11#FFFFFF#000000##FFFFFF
##566F111.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#72661B
Tritanopia (blue-blind)
#5B695E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #566f11;
/* rgb */ color: rgb(86, 111, 17);
/* oklch */ color: oklch(50.4% 0.118 124.3);
Tailwind
colors: {
  custom: {
    50: '#899859',
    500: '#566f11',
    950: '#000000',
  },
}
SCSS
$custom: #566f11;
$custom-light: #899859;
$custom-dark: #000000;
JSON
{
  "hex": "#566f11",
  "rgb": {
    "r": 86,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 75.957,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50386,
    "c": 0.11812,
    "h": 124.3
  },
  "luminance": 0.13388
}

Semantic roles & 50–950 ramp

primary
#566F11
secondary
#5335A6
accent
#38F069
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #566F11

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

Preview Lab → · Contrast checker → · Palette generator →

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