#566017#566017

#566017 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.5% C 0.095 H 117.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#566017
RGBrgb(86, 96, 23)
HSLhsl(68, 61%, 23%)
HSVhsv(68, 76%, 38%)
CMYKcmyk(10.4%, 0%, 76%, 62.4%)
CIE-LABlab(38.56, -14.47, 38.09)
CIE-LCHlch(38.56, 40.74, 110.80°)
OKLaboklab(46.54% -0.0433 0.0848)
OKLCHoklch(46.54% 0.095 117.1)
XYZxyz(8.1755, 10.4061, 2.3883)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566017 #211760
analogous
#604517 #566017 #316017
triadic
#566017 #175660 #601756
tetradic
#566017 #176045 #211760 #601731
square
#566017 #176045 #211760 #601731
split-complementary
#566017 #173160 #451760
monochromatic
#161906 #2A2F0B #566017 #829123 #AEC32F

Accessibility & contrast

On white

6.82
#566017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#566017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566017
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566017#FFFFFF#000000##FFFFFF
##5660171.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0A
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#5C5A52
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #566017;
/* rgb */ color: rgb(86, 96, 23);
/* oklch */ color: oklch(46.5% 0.095 117.1);
Tailwind
colors: {
  custom: {
    50: '#888d5a',
    500: '#566017',
    950: '#000000',
  },
}
SCSS
$custom: #566017;
$custom-light: #888d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#566017",
  "rgb": {
    "r": 86,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 68.219,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4654,
    "c": 0.09522,
    "h": 117.1
  },
  "luminance": 0.10406
}

Semantic roles & 50–950 ramp

primary
#566017
secondary
#493C97
accent
#43E459
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #566017

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

Preview Lab → · Contrast checker → · Palette generator →

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