#566112#566112

#566112 is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 46.8% C 0.100 H 117.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#566112
RGBrgb(86, 97, 18)
HSLhsl(68, 69%, 23%)
HSVhsv(68, 81%, 38%)
CMYKcmyk(11.3%, 0%, 81.4%, 62%)
CIE-LABlab(38.85, -15.29, 40.26)
CIE-LCHlch(38.85, 43.07, 110.79°)
OKLaboklab(46.76% -0.0461 0.0884)
OKLCHoklch(46.76% 0.1 117.5)
XYZxyz(8.2218, 10.5716, 2.1795)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566112 #1D1261
analogous
#614412 #566112 #2F6112
triadic
#566112 #125661 #611256
tetradic
#566112 #126144 #1D1261 #61122F
square
#566112 #126144 #1D1261 #61122F
split-complementary
#566112 #122F61 #441261
monochromatic
#171A05 #282D08 #566112 #84951C #B2C825

Accessibility & contrast

On white

6.74
#566112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#566112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566112
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566112#FFFFFF#000000##FFFFFF
##5661121.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B01
Deuteranopia (green-blind)
#675C19
Tritanopia (blue-blind)
#5C5B52
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #566112;
/* rgb */ color: rgb(86, 97, 18);
/* oklch */ color: oklch(46.8% 0.100 117.5);
Tailwind
colors: {
  custom: {
    50: '#888d57',
    500: '#566112',
    950: '#000000',
  },
}
SCSS
$custom: #566112;
$custom-light: #888d57;
$custom-dark: #000000;
JSON
{
  "hex": "#566112",
  "rgb": {
    "r": 86,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 68.354,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46761,
    "c": 0.09972,
    "h": 117.5
  },
  "luminance": 0.10571
}

Semantic roles & 50–950 ramp

primary
#566112
secondary
#443699
accent
#3CEC55
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #566112

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

Preview Lab → · Contrast checker → · Palette generator →

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