#566412#566412

#566412 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.5% C 0.104 H 119.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#566412
RGBrgb(86, 100, 18)
HSLhsl(70, 69%, 23%)
HSVhsv(70, 82%, 39%)
CMYKcmyk(14%, 0%, 82%, 60.8%)
CIE-LABlab(39.81, -16.92, 41.15)
CIE-LCHlch(39.81, 44.49, 112.36°)
OKLaboklab(47.53% -0.0506 0.0903)
OKLCHoklch(47.53% 0.104 119.3)
XYZxyz(8.5043, 11.1365, 2.2737)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566412 #201264
analogous
#644912 #566412 #2D6412
triadic
#566412 #125664 #641256
tetradic
#566412 #126449 #201264 #64122D
square
#566412 #126449 #201264 #64122D
split-complementary
#566412 #122D64 #491264
monochromatic
#161A05 #293009 #566412 #83981B #AFCC25

Accessibility & contrast

On white

6.51
#566412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#566412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566412
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566412#FFFFFF#000000##FFFFFF
##5664121.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#695E1A
Tritanopia (blue-blind)
#5C5E55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #566412;
/* rgb */ color: rgb(86, 100, 18);
/* oklch */ color: oklch(47.5% 0.104 119.3);
Tailwind
colors: {
  custom: {
    50: '#889058',
    500: '#566412',
    950: '#000000',
  },
}
SCSS
$custom: #566412;
$custom-light: #889058;
$custom-dark: #000000;
JSON
{
  "hex": "#566412",
  "rgb": {
    "r": 86,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 70.244,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47534,
    "c": 0.10351,
    "h": 119.3
  },
  "luminance": 0.11136
}

Semantic roles & 50–950 ramp

primary
#566412
secondary
#47369C
accent
#3BEC5A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #566412

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

Preview Lab → · Contrast checker → · Palette generator →

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