#566A0F#566A0F

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

Color values

HEX#566A0F
RGBrgb(86, 106, 15)
HSLhsl(73, 75%, 24%)
HSVhsv(73, 86%, 42%)
CMYKcmyk(18.9%, 0%, 85.8%, 58.4%)
CIE-LABlab(41.72, -20.25, 43.82)
CIE-LCHlch(41.72, 48.27, 114.80°)
OKLaboklab(49.07% -0.0599 0.0954)
OKLCHoklch(49.07% 0.113 122.1)
XYZxyz(9.0782, 12.3210, 2.3518)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566A0F #230F6A
analogous
#6A500F #566A0F #286A0F
triadic
#566A0F #0F566A #6A0F56
tetradic
#566A0F #0F6A50 #230F6A #6A0F28
square
#566A0F #0F6A50 #230F6A #6A0F28
split-complementary
#566A0F #0F286A #500F6A
monochromatic
#161B04 #2B3407 #566A0F #81A017 #ADD51E

Accessibility & contrast

On white

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

On black

3.46
#566A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##566A0F#FFFFFF#000000##FFFFFF
##566A0F1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #566a0f;
/* rgb */ color: rgb(86, 106, 15);
/* oklch */ color: oklch(49.1% 0.113 122.1);
Tailwind
colors: {
  custom: {
    50: '#899458',
    500: '#566a0f',
    950: '#000000',
  },
}
SCSS
$custom: #566a0f;
$custom-light: #899458;
$custom-dark: #000000;
JSON
{
  "hex": "#566a0f",
  "rgb": {
    "r": 86,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 73.187,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.49073,
    "c": 0.11268,
    "h": 122.1
  },
  "luminance": 0.12321
}

Semantic roles & 50–950 ramp

primary
#566A0F
secondary
#4B32A2
accent
#36F25F
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #566A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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