#566012#566012

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

Color values

HEX#566012
RGBrgb(86, 96, 18)
HSLhsl(68, 68%, 22%)
HSVhsv(68, 81%, 38%)
CMYKcmyk(10.4%, 0%, 81.3%, 62.4%)
CIE-LABlab(38.53, -14.74, 39.97)
CIE-LCHlch(38.53, 42.60, 110.24°)
OKLaboklab(46.51% -0.0446 0.0878)
OKLCHoklch(46.51% 0.098 116.9)
XYZxyz(8.1300, 10.3880, 2.1489)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566012 #1C1260
analogous
#604312 #566012 #2F6012
triadic
#566012 #125660 #601256
tetradic
#566012 #126043 #1C1260 #60122F
square
#566012 #126043 #1C1260 #60122F
split-complementary
#566012 #122F60 #431260
monochromatic
#171A05 #282C08 #566012 #84941C #B2C725

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##566012#FFFFFF#000000##FFFFFF
##5660121.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)
#675A01
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#5C5A51
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #566012;
/* rgb */ color: rgb(86, 96, 18);
/* oklch */ color: oklch(46.5% 0.098 116.9);
Tailwind
colors: {
  custom: {
    50: '#888d57',
    500: '#566012',
    950: '#000000',
  },
}
SCSS
$custom: #566012;
$custom-light: #888d57;
$custom-dark: #000000;
JSON
{
  "hex": "#566012",
  "rgb": {
    "r": 86,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 67.692,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46505,
    "c": 0.09847,
    "h": 116.9
  },
  "luminance": 0.10388
}

Semantic roles & 50–950 ramp

primary
#566012
secondary
#423698
accent
#3DEB53
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #566012

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

Preview Lab → · Contrast checker → · Palette generator →

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