#566918#566918

#566918 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.9% C 0.106 H 122.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#566918
RGBrgb(86, 105, 24)
HSLhsl(74, 63%, 25%)
HSVhsv(74, 77%, 41%)
CMYKcmyk(18.1%, 0%, 77.1%, 58.8%)
CIE-LABlab(41.45, -19.27, 40.50)
CIE-LCHlch(41.45, 44.85, 115.45°)
OKLaboklab(48.87% -0.0565 0.0901)
OKLCHoklch(48.87% 0.106 122.1)
XYZxyz(9.0543, 12.1475, 2.7317)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566918 #2B1869
analogous
#695318 #566918 #2D6918
triadic
#566918 #185669 #691856
tetradic
#566918 #186953 #2B1869 #69182D
square
#566918 #186953 #2B1869 #69182D
split-complementary
#566918 #182D69 #531869
monochromatic
#141906 #2D370D #566918 #7F9B23 #A8CD2F

Accessibility & contrast

On white

6.12
#566918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#566918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566918
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566918#FFFFFF#000000##FFFFFF
##5669181.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706208
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#5B6359
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #566918;
/* rgb */ color: rgb(86, 105, 24);
/* oklch */ color: oklch(48.9% 0.106 122.1);
Tailwind
colors: {
  custom: {
    50: '#88935b',
    500: '#566918',
    950: '#000000',
  },
}
SCSS
$custom: #566918;
$custom-light: #88935b;
$custom-dark: #000000;
JSON
{
  "hex": "#566918",
  "rgb": {
    "r": 86,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 74.074,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48869,
    "c": 0.10632,
    "h": 122.1
  },
  "luminance": 0.12148
}

Semantic roles & 50–950 ramp

primary
#566918
secondary
#553E9F
accent
#42E668
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #566918

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

Preview Lab → · Contrast checker → · Palette generator →

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