#566712#566712

#566712 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.3% C 0.107 H 120.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#566712
RGBrgb(86, 103, 18)
HSLhsl(72, 70%, 24%)
HSVhsv(72, 83%, 40%)
CMYKcmyk(16.5%, 0%, 82.5%, 59.6%)
CIE-LABlab(40.77, -18.53, 42.03)
CIE-LCHlch(40.77, 45.93, 113.80°)
OKLaboklab(48.31% -0.055 0.0922)
OKLCHoklch(48.31% 0.107 120.8)
XYZxyz(8.7973, 11.7226, 2.3714)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566712 #231267
analogous
#674D12 #566712 #2B6712
triadic
#566712 #125667 #671256
tetradic
#566712 #12674D #231267 #67122B
square
#566712 #12674D #231267 #67122B
split-complementary
#566712 #122B67 #4D1267
monochromatic
#161A05 #2B3309 #566712 #819B1B #ADCF24

Accessibility & contrast

On white

6.28
#566712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#566712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566712
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566712#FFFFFF#000000##FFFFFF
##5667121.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6C601A
Tritanopia (blue-blind)
#5B6157
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #566712;
/* rgb */ color: rgb(86, 103, 18);
/* oklch */ color: oklch(48.3% 0.107 120.8);
Tailwind
colors: {
  custom: {
    50: '#899258',
    500: '#566712',
    950: '#000000',
  },
}
SCSS
$custom: #566712;
$custom-light: #899258;
$custom-dark: #000000;
JSON
{
  "hex": "#566712",
  "rgb": {
    "r": 86,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 72,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4831,
    "c": 0.10734,
    "h": 120.8
  },
  "luminance": 0.11723
}

Semantic roles & 50–950 ramp

primary
#566712
secondary
#4B369F
accent
#3BED5E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #566712

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

Preview Lab → · Contrast checker → · Palette generator →

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