#566512#566512

#566512 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.8% C 0.105 H 119.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#566512
RGBrgb(86, 101, 18)
HSLhsl(71, 70%, 23%)
HSVhsv(71, 82%, 40%)
CMYKcmyk(14.9%, 0%, 82.2%, 60.4%)
CIE-LABlab(40.13, -17.46, 41.44)
CIE-LCHlch(40.13, 44.97, 112.85°)
OKLaboklab(47.79% -0.0521 0.0909)
OKLCHoklch(47.79% 0.105 119.8)
XYZxyz(8.6008, 11.3295, 2.3059)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566512 #211265
analogous
#654A12 #566512 #2C6512
triadic
#566512 #125665 #651256
tetradic
#566512 #12654A #211265 #65122C
square
#566512 #12654A #211265 #65122C
split-complementary
#566512 #122C65 #4A1265
monochromatic
#161A05 #2A3109 #566512 #82991B #AECD25

Accessibility & contrast

On white

6.43
#566512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#566512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566512
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566512#FFFFFF#000000##FFFFFF
##5665121.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#6A5F1A
Tritanopia (blue-blind)
#5B5F56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #566512;
/* rgb */ color: rgb(86, 101, 18);
/* oklch */ color: oklch(47.8% 0.105 119.8);
Tailwind
colors: {
  custom: {
    50: '#889058',
    500: '#566512',
    950: '#000000',
  },
}
SCSS
$custom: #566512;
$custom-light: #889058;
$custom-dark: #000000;
JSON
{
  "hex": "#566512",
  "rgb": {
    "r": 86,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 70.843,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47793,
    "c": 0.10479,
    "h": 119.8
  },
  "luminance": 0.11329
}

Semantic roles & 50–950 ramp

primary
#566512
secondary
#49369D
accent
#3BED5B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #566512

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

Preview Lab → · Contrast checker → · Palette generator →

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