#566E18#566E18

#566E18 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.2% C 0.113 H 124.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#566E18
RGBrgb(86, 110, 24)
HSLhsl(77, 64%, 26%)
HSVhsv(77, 78%, 43%)
CMYKcmyk(21.8%, 0%, 78.2%, 56.9%)
CIE-LABlab(43.06, -21.88, 42.05)
CIE-LCHlch(43.06, 47.40, 117.49°)
OKLaboklab(50.17% -0.0636 0.0933)
OKLCHoklch(50.17% 0.113 124.3)
XYZxyz(9.5786, 13.1962, 2.9065)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566E18 #30186E
analogous
#6E5B18 #566E18 #2B6E18
triadic
#566E18 #18566E #6E1856
tetradic
#566E18 #186E5B #30186E #6E182B
square
#566E18 #186E5B #30186E #6E182B
split-complementary
#566E18 #182B6E #5B186E
monochromatic
#141905 #2F3C0D #566E18 #7DA023 #A4D22F

Accessibility & contrast

On white

5.77
#566E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#566E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566E18
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566E18#FFFFFF#000000##FFFFFF
##566E181.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756606
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#5A685E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #566e18;
/* rgb */ color: rgb(86, 110, 24);
/* oklch */ color: oklch(50.2% 0.113 124.3);
Tailwind
colors: {
  custom: {
    50: '#89975c',
    500: '#566e18',
    950: '#000000',
  },
}
SCSS
$custom: #566e18;
$custom-light: #89975c;
$custom-dark: #000000;
JSON
{
  "hex": "#566e18",
  "rgb": {
    "r": 86,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 76.744,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50168,
    "c": 0.11295,
    "h": 124.3
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#566E18
secondary
#5A3EA4
accent
#41E76F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #566E18

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

Preview Lab → · Contrast checker → · Palette generator →

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