#566213#566213

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

Color values

HEX#566213
RGBrgb(86, 98, 19)
HSLhsl(69, 68%, 23%)
HSVhsv(69, 81%, 38%)
CMYKcmyk(12.2%, 0%, 80.6%, 61.6%)
CIE-LABlab(39.17, -15.79, 40.21)
CIE-LCHlch(39.17, 43.20, 111.44°)
OKLaboklab(47.03% -0.0474 0.0885)
OKLCHoklch(47.03% 0.1 118.2)
XYZxyz(8.3232, 10.7609, 2.2546)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566213 #1F1362
analogous
#624613 #566213 #2E6213
triadic
#566213 #135662 #621356
tetradic
#566213 #136246 #1F1362 #62132E
square
#566213 #136246 #1F1362 #62132E
split-complementary
#566213 #132E62 #461362
monochromatic
#161A05 #292F09 #566213 #83951D #B0C927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##566213#FFFFFF#000000##FFFFFF
##5662131.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)
#695C02
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#5C5C53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #566213;
/* rgb */ color: rgb(86, 98, 19);
/* oklch */ color: oklch(47.0% 0.100 118.2);
Tailwind
colors: {
  custom: {
    50: '#888e58',
    500: '#566213',
    950: '#000000',
  },
}
SCSS
$custom: #566213;
$custom-light: #888e58;
$custom-dark: #000000;
JSON
{
  "hex": "#566213",
  "rgb": {
    "r": 86,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 69.114,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47025,
    "c": 0.10039,
    "h": 118.2
  },
  "luminance": 0.10761
}

Semantic roles & 50–950 ramp

primary
#566213
secondary
#46379A
accent
#3DEA58
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #566213

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

Preview Lab → · Contrast checker → · Palette generator →

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