#566E12#566E12

#566E12 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.116 H 124.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#566E12
RGBrgb(86, 110, 18)
HSLhsl(76, 72%, 25%)
HSVhsv(76, 84%, 43%)
CMYKcmyk(21.8%, 0%, 83.6%, 56.9%)
CIE-LABlab(43.02, -22.19, 44.07)
CIE-LCHlch(43.02, 49.34, 116.72°)
OKLaboklab(50.13% -0.065 0.0965)
OKLCHoklch(50.13% 0.116 124)
XYZxyz(9.5230, 13.1739, 2.6133)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566E12 #2A126E
analogous
#6E5812 #566E12 #286E12
triadic
#566E12 #12566E #6E1256
tetradic
#566E12 #126E58 #2A126E #6E1228
square
#566E12 #126E58 #2A126E #6E1228
split-complementary
#566E12 #12286E #58126E
monochromatic
#151A04 #2D3909 #566E12 #7FA31B #A8D723

Accessibility & contrast

On white

5.78
#566E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#566E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566E12
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566E12#FFFFFF#000000##FFFFFF
##566E121.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#72651C
Tritanopia (blue-blind)
#5B685D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #566e12;
/* rgb */ color: rgb(86, 110, 18);
/* oklch */ color: oklch(50.1% 0.116 124.0);
Tailwind
colors: {
  custom: {
    50: '#899759',
    500: '#566e12',
    950: '#000000',
  },
}
SCSS
$custom: #566e12;
$custom-light: #899759;
$custom-dark: #000000;
JSON
{
  "hex": "#566e12",
  "rgb": {
    "r": 86,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 75.652,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50131,
    "c": 0.11635,
    "h": 124
  },
  "luminance": 0.13174
}

Semantic roles & 50–950 ramp

primary
#566E12
secondary
#5337A5
accent
#39EF69
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #566E12

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

Preview Lab → · Contrast checker → · Palette generator →

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