#566612#566612

#566612 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 48.1% C 0.106 H 120.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#566612
RGBrgb(86, 102, 18)
HSLhsl(71, 70%, 24%)
HSVhsv(71, 82%, 40%)
CMYKcmyk(15.7%, 0%, 82.4%, 60%)
CIE-LABlab(40.45, -18.00, 41.74)
CIE-LCHlch(40.45, 45.45, 113.33°)
OKLaboklab(48.05% -0.0535 0.0916)
OKLCHoklch(48.05% 0.106 120.3)
XYZxyz(8.6985, 11.5249, 2.3384)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566612 #221266
analogous
#664C12 #566612 #2C6612
triadic
#566612 #125666 #661256
tetradic
#566612 #12664C #221266 #66122C
square
#566612 #12664C #221266 #66122C
split-complementary
#566612 #122C66 #4C1266
monochromatic
#161A05 #2A3209 #566612 #829A1B #AECE24

Accessibility & contrast

On white

6.35
#566612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#566612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566612
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566612#FFFFFF#000000##FFFFFF
##5666121.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#6B601A
Tritanopia (blue-blind)
#5B6056
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #566612;
/* rgb */ color: rgb(86, 102, 18);
/* oklch */ color: oklch(48.1% 0.106 120.3);
Tailwind
colors: {
  custom: {
    50: '#889158',
    500: '#566612',
    950: '#000000',
  },
}
SCSS
$custom: #566612;
$custom-light: #889158;
$custom-dark: #000000;
JSON
{
  "hex": "#566612",
  "rgb": {
    "r": 86,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 71.429,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.48051,
    "c": 0.10606,
    "h": 120.3
  },
  "luminance": 0.11525
}

Semantic roles & 50–950 ramp

primary
#566612
secondary
#4A369E
accent
#3BED5D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #566612

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

Preview Lab → · Contrast checker → · Palette generator →

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