#566217#566217

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

Color values

HEX#566217
RGBrgb(86, 98, 23)
HSLhsl(70, 62%, 24%)
HSVhsv(70, 77%, 38%)
CMYKcmyk(12.2%, 0%, 76.5%, 61.6%)
CIE-LABlab(39.20, -15.57, 38.71)
CIE-LCHlch(39.20, 41.72, 111.91°)
OKLaboklab(47.05% -0.0464 0.0861)
OKLCHoklch(47.05% 0.098 118.3)
XYZxyz(8.3603, 10.7757, 2.4499)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566217 #231762
analogous
#624817 #566217 #306217
triadic
#566217 #175662 #621756
tetradic
#566217 #176248 #231762 #621730
square
#566217 #176248 #231762 #621730
split-complementary
#566217 #173062 #481762
monochromatic
#161906 #2B300B #566217 #819423 #ADC52E

Accessibility & contrast

On white

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

On black

3.16
#566217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##566217#FFFFFF#000000##FFFFFF
##5662171.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #566217;
/* rgb */ color: rgb(86, 98, 23);
/* oklch */ color: oklch(47.1% 0.098 118.3);
Tailwind
colors: {
  custom: {
    50: '#888e5a',
    500: '#566217',
    950: '#000000',
  },
}
SCSS
$custom: #566217;
$custom-light: #888e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#566217",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 69.6,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47054,
    "c": 0.0978,
    "h": 118.3
  },
  "luminance": 0.10776
}

Semantic roles & 50–950 ramp

primary
#566217
secondary
#4B3C99
accent
#43E55D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #566217

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

Preview Lab → · Contrast checker → · Palette generator →

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