#566C12#566C12

#566C12 is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.6% C 0.114 H 123.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#566C12
RGBrgb(86, 108, 18)
HSLhsl(75, 71%, 25%)
HSVhsv(75, 83%, 42%)
CMYKcmyk(20.4%, 0%, 83.3%, 57.6%)
CIE-LABlab(42.38, -21.16, 43.49)
CIE-LCHlch(42.38, 48.37, 115.94°)
OKLaboklab(49.61% -0.0622 0.0953)
OKLCHoklch(49.61% 0.114 123.1)
XYZxyz(9.3096, 12.7472, 2.5421)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566C12 #28126C
analogous
#6C5512 #566C12 #296C12
triadic
#566C12 #12566C #6C1256
tetradic
#566C12 #126C55 #28126C #6C1229
square
#566C12 #126C55 #28126C #6C1229
split-complementary
#566C12 #12296C #55126C
monochromatic
#151A04 #2C3809 #566C12 #80A01B #AAD523

Accessibility & contrast

On white

5.92
#566C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#566C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566C12
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566C12#FFFFFF#000000##FFFFFF
##566C121.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#70641B
Tritanopia (blue-blind)
#5B665C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #566c12;
/* rgb */ color: rgb(86, 108, 18);
/* oklch */ color: oklch(49.6% 0.114 123.1);
Tailwind
colors: {
  custom: {
    50: '#899659',
    500: '#566c12',
    950: '#000000',
  },
}
SCSS
$custom: #566c12;
$custom-light: #899659;
$custom-dark: #000000;
JSON
{
  "hex": "#566c12",
  "rgb": {
    "r": 86,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 74.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.49609,
    "c": 0.11377,
    "h": 123.1
  },
  "luminance": 0.12747
}

Semantic roles & 50–950 ramp

primary
#566C12
secondary
#5136A3
accent
#3AEE66
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #566C12

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

Preview Lab → · Contrast checker → · Palette generator →

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