#566518#566518

#566518 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.8% C 0.101 H 120.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#566518
RGBrgb(86, 101, 24)
HSLhsl(72, 62%, 25%)
HSVhsv(72, 76%, 40%)
CMYKcmyk(14.9%, 0%, 76.2%, 60.4%)
CIE-LABlab(40.17, -17.14, 39.25)
CIE-LCHlch(40.17, 42.83, 113.59°)
OKLaboklab(47.83% -0.0506 0.0874)
OKLCHoklch(47.83% 0.101 120.1)
XYZxyz(8.6565, 11.3518, 2.5991)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566518 #271865
analogous
#654E18 #566518 #306518
triadic
#566518 #185665 #651856
tetradic
#566518 #18654E #271865 #651830
square
#566518 #18654E #271865 #651830
split-complementary
#566518 #183065 #4E1865
monochromatic
#151906 #2C340C #566518 #809624 #AAC830

Accessibility & contrast

On white

6.42
#566518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#566518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566518
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566518#FFFFFF#000000##FFFFFF
##5665181.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0A
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#5B5F56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #566518;
/* rgb */ color: rgb(86, 101, 24);
/* oklch */ color: oklch(47.8% 0.101 120.1);
Tailwind
colors: {
  custom: {
    50: '#88905b',
    500: '#566518',
    950: '#000000',
  },
}
SCSS
$custom: #566518;
$custom-light: #88905b;
$custom-dark: #000000;
JSON
{
  "hex": "#566518",
  "rgb": {
    "r": 86,
    "g": 101,
    "b": 24
  },
  "hsl": {
    "h": 71.688,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47834,
    "c": 0.10103,
    "h": 120.1
  },
  "luminance": 0.11352
}

Semantic roles & 50–950 ramp

primary
#566518
secondary
#503E9B
accent
#43E563
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #566518

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

Preview Lab → · Contrast checker → · Palette generator →

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