#566A12#566A12

#566A12 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.1% C 0.111 H 122.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#566A12
RGBrgb(86, 106, 18)
HSLhsl(74, 71%, 24%)
HSVhsv(74, 83%, 42%)
CMYKcmyk(18.9%, 0%, 83%, 58.4%)
CIE-LABlab(41.74, -20.12, 42.91)
CIE-LCHlch(41.74, 47.39, 115.12°)
OKLaboklab(49.09% -0.0593 0.094)
OKLCHoklch(49.09% 0.111 122.3)
XYZxyz(9.1011, 12.3301, 2.4726)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566A12 #26126A
analogous
#6A5212 #566A12 #2A6A12
triadic
#566A12 #12566A #6A1256
tetradic
#566A12 #126A52 #26126A #6A122A
square
#566A12 #126A52 #26126A #6A122A
split-complementary
#566A12 #122A6A #52126A
monochromatic
#151A04 #2C3609 #566A12 #809E1B #ABD324

Accessibility & contrast

On white

6.06
#566A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#566A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566A12
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566A12#FFFFFF#000000##FFFFFF
##566A121.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6E621B
Tritanopia (blue-blind)
#5B645A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #566a12;
/* rgb */ color: rgb(86, 106, 18);
/* oklch */ color: oklch(49.1% 0.111 122.3);
Tailwind
colors: {
  custom: {
    50: '#899459',
    500: '#566a12',
    950: '#000000',
  },
}
SCSS
$custom: #566a12;
$custom-light: #899459;
$custom-dark: #000000;
JSON
{
  "hex": "#566a12",
  "rgb": {
    "r": 86,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 73.636,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49089,
    "c": 0.11119,
    "h": 122.3
  },
  "luminance": 0.1233
}

Semantic roles & 50–950 ramp

primary
#566A12
secondary
#4F36A2
accent
#3AEE63
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #566A12

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

Preview Lab → · Contrast checker → · Palette generator →

#566A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva