#566915#566915

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

Color values

HEX#566915
RGBrgb(86, 105, 21)
HSLhsl(74, 67%, 25%)
HSVhsv(74, 80%, 41%)
CMYKcmyk(18.1%, 0%, 80%, 58.8%)
CIE-LABlab(41.43, -19.44, 41.60)
CIE-LCHlch(41.43, 45.92, 115.05°)
OKLaboklab(48.85% -0.0572 0.0918)
OKLCHoklch(48.85% 0.108 121.9)
XYZxyz(9.0248, 12.1357, 2.5763)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566915 #281569
analogous
#695215 #566915 #2C6915
triadic
#566915 #155669 #691556
tetradic
#566915 #156952 #281569 #69152C
square
#566915 #156952 #281569 #69152C
split-complementary
#566915 #152C69 #521569
monochromatic
#151A05 #2C360B #566915 #809C1F #AACF29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##566915#FFFFFF#000000##FFFFFF
##5669151.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)
#706202
Deuteranopia (green-blind)
#6D621D
Tritanopia (blue-blind)
#5B6359
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #566915;
/* rgb */ color: rgb(86, 105, 21);
/* oklch */ color: oklch(48.8% 0.108 121.9);
Tailwind
colors: {
  custom: {
    50: '#88935a',
    500: '#566915',
    950: '#000000',
  },
}
SCSS
$custom: #566915;
$custom-light: #88935a;
$custom-dark: #000000;
JSON
{
  "hex": "#566915",
  "rgb": {
    "r": 86,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 73.571,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48848,
    "c": 0.1082,
    "h": 121.9
  },
  "luminance": 0.12136
}

Semantic roles & 50–950 ramp

primary
#566915
secondary
#513AA0
accent
#3EEA65
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #566915

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

Preview Lab → · Contrast checker → · Palette generator →

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