#566211#566211

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

Color values

HEX#566211
RGBrgb(86, 98, 17)
HSLhsl(69, 70%, 23%)
HSVhsv(69, 83%, 38%)
CMYKcmyk(12.2%, 0%, 82.7%, 61.6%)
CIE-LABlab(39.16, -15.89, 40.90)
CIE-LCHlch(39.16, 43.88, 111.23°)
OKLaboklab(47.01% -0.0478 0.0896)
OKLCHoklch(47.01% 0.102 118.1)
XYZxyz(8.3068, 10.7544, 2.1684)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566211 #1D1162
analogous
#624611 #566211 #2D6211
triadic
#566211 #115662 #621156
tetradic
#566211 #116246 #1D1162 #62112D
square
#566211 #116246 #1D1162 #62112D
split-complementary
#566211 #112D62 #461162
monochromatic
#171A05 #282E08 #566211 #84961A #B2CA23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##566211#FFFFFF#000000##FFFFFF
##5662111.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)
#695C00
Deuteranopia (green-blind)
#685D19
Tritanopia (blue-blind)
#5C5C53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #566211;
/* rgb */ color: rgb(86, 98, 17);
/* oklch */ color: oklch(47.0% 0.102 118.1);
Tailwind
colors: {
  custom: {
    50: '#888e57',
    500: '#566211',
    950: '#000000',
  },
}
SCSS
$custom: #566211;
$custom-light: #888e57;
$custom-dark: #000000;
JSON
{
  "hex": "#566211",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 68.889,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.47013,
    "c": 0.10154,
    "h": 118.1
  },
  "luminance": 0.10754
}

Semantic roles & 50–950 ramp

primary
#566211
secondary
#44349A
accent
#3BED55
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #566211

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

Preview Lab → · Contrast checker → · Palette generator →

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