#566216#566216

#566216 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.0% C 0.098 H 118.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#566216
RGBrgb(86, 98, 22)
HSLhsl(69, 63%, 24%)
HSVhsv(69, 78%, 38%)
CMYKcmyk(12.2%, 0%, 77.6%, 61.6%)
CIE-LABlab(39.19, -15.63, 39.10)
CIE-LCHlch(39.19, 42.11, 111.78°)
OKLaboklab(47.05% -0.0466 0.0867)
OKLCHoklch(47.05% 0.098 118.3)
XYZxyz(8.3504, 10.7718, 2.3982)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566216 #221662
analogous
#624816 #566216 #306216
triadic
#566216 #165662 #621656
tetradic
#566216 #166248 #221662 #621630
square
#566216 #166248 #221662 #621630
split-complementary
#566216 #163062 #481662
monochromatic
#161906 #2A300B #566216 #829421 #AEC62C

Accessibility & contrast

On white

6.66
#566216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#566216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566216
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566216#FFFFFF#000000##FFFFFF
##5662161.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C07
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#5C5C53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #566216;
/* rgb */ color: rgb(86, 98, 22);
/* oklch */ color: oklch(47.0% 0.098 118.3);
Tailwind
colors: {
  custom: {
    50: '#888e59',
    500: '#566216',
    950: '#000000',
  },
}
SCSS
$custom: #566216;
$custom-light: #888e59;
$custom-dark: #000000;
JSON
{
  "hex": "#566216",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 69.474,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47046,
    "c": 0.09849,
    "h": 118.3
  },
  "luminance": 0.10772
}

Semantic roles & 50–950 ramp

primary
#566216
secondary
#4A3B99
accent
#41E65B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #566216

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

Preview Lab → · Contrast checker → · Palette generator →

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