#566A2F#566A2F

#566A2F is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.4% C 0.088 H 125.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#566A2F
RGBrgb(86, 106, 47)
HSLhsl(80, 39%, 30%)
HSVhsv(80, 56%, 42%)
CMYKcmyk(18.9%, 0%, 55.7%, 58.4%)
CIE-LABlab(41.99, -17.86, 30.33)
CIE-LCHlch(41.99, 35.20, 120.50°)
OKLaboklab(49.37% -0.0503 0.0717)
OKLCHoklch(49.37% 0.088 125)
XYZxyz(9.5049, 12.4917, 4.5992)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566A2F #432F6A
analogous
#6A602F #566A2F #396A2F
triadic
#566A2F #2F566A #6A2F56
tetradic
#566A2F #2F6A60 #432F6A #6A2F39
square
#566A2F #2F6A60 #432F6A #6A2F39
split-complementary
#566A2F #2F396A #602F6A
monochromatic
#111509 #34401C #566A2F #789442 #98B75C

Accessibility & contrast

On white

6.00
#566A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#566A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566A2F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566A2F#FFFFFF#000000##FFFFFF
##566A2F1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6429
Deuteranopia (green-blind)
#6D6333
Tritanopia (blue-blind)
#59655D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #566a2f;
/* rgb */ color: rgb(86, 106, 47);
/* oklch */ color: oklch(49.4% 0.088 125.0);
Tailwind
colors: {
  custom: {
    50: '#879469',
    500: '#566a2f',
    950: '#000000',
  },
}
SCSS
$custom: #566a2f;
$custom-light: #879469;
$custom-dark: #000000;
JSON
{
  "hex": "#566a2f",
  "rgb": {
    "r": 86,
    "g": 106,
    "b": 47
  },
  "hsl": {
    "h": 80.339,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.49372,
    "c": 0.08758,
    "h": 125
  },
  "luminance": 0.12492
}

Semantic roles & 50–950 ramp

primary
#566A2F
secondary
#70599B
accent
#59CE81
background
#F8F9F6
surface
#F0F1EB
border
#CBCBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #566A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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