#566912#566912

#566912 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.8% C 0.110 H 121.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#566912
RGBrgb(86, 105, 18)
HSLhsl(73, 71%, 24%)
HSVhsv(73, 83%, 41%)
CMYKcmyk(18.1%, 0%, 82.9%, 58.8%)
CIE-LABlab(41.41, -19.59, 42.62)
CIE-LCHlch(41.41, 46.90, 114.69°)
OKLaboklab(48.83% -0.0579 0.0934)
OKLCHoklch(48.83% 0.11 121.8)
XYZxyz(8.9987, 12.1252, 2.4385)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566912 #251269
analogous
#695112 #566912 #2B6912
triadic
#566912 #125669 #691256
tetradic
#566912 #126951 #251269 #69122B
square
#566912 #126951 #251269 #69122B
split-complementary
#566912 #122B69 #511269
monochromatic
#151A04 #2B3509 #566912 #819D1B #ACD124

Accessibility & contrast

On white

6.13
#566912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #566912
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566912#FFFFFF#000000##FFFFFF
##5669121.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #566912;
/* rgb */ color: rgb(86, 105, 18);
/* oklch */ color: oklch(48.8% 0.110 121.8);
Tailwind
colors: {
  custom: {
    50: '#899359',
    500: '#566912',
    950: '#000000',
  },
}
SCSS
$custom: #566912;
$custom-light: #899359;
$custom-dark: #000000;
JSON
{
  "hex": "#566912",
  "rgb": {
    "r": 86,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 73.103,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48829,
    "c": 0.1099,
    "h": 121.8
  },
  "luminance": 0.12125
}

Semantic roles & 50–950 ramp

primary
#566912
secondary
#4D36A1
accent
#3AED61
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #566912

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

Preview Lab → · Contrast checker → · Palette generator →

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