#556917#556917

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

Color values

HEX#556917
RGBrgb(85, 105, 23)
HSLhsl(75, 64%, 25%)
HSVhsv(75, 78%, 41%)
CMYKcmyk(19%, 0%, 78.1%, 58.8%)
CIE-LABlab(41.37, -19.78, 40.78)
CIE-LCHlch(41.37, 45.33, 115.88°)
OKLaboklab(48.78% -0.0579 0.0905)
OKLCHoklch(48.78% 0.107 122.6)
XYZxyz(8.9527, 12.0963, 2.6736)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556917 #2B1769
analogous
#695417 #556917 #2C6917
triadic
#556917 #175569 #691755
tetradic
#556917 #176954 #2B1769 #69172C
square
#556917 #176954 #2B1769 #69172C
split-complementary
#556917 #172C69 #541769
monochromatic
#141905 #2C370C #556917 #7E9B22 #A6CD2D

Accessibility & contrast

On white

6.14
#556917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#556917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556917
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556917#FFFFFF#000000##FFFFFF
##5569171.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706206
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#5A6359
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #556917;
/* rgb */ color: rgb(85, 105, 23);
/* oklch */ color: oklch(48.8% 0.107 122.6);
Tailwind
colors: {
  custom: {
    50: '#88945b',
    500: '#556917',
    950: '#000000',
  },
}
SCSS
$custom: #556917;
$custom-light: #88945b;
$custom-dark: #000000;
JSON
{
  "hex": "#556917",
  "rgb": {
    "r": 85,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 74.634,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48782,
    "c": 0.10745,
    "h": 122.6
  },
  "luminance": 0.12096
}

Semantic roles & 50–950 ramp

primary
#556917
secondary
#553D9F
accent
#41E769
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556917

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

Preview Lab → · Contrast checker → · Palette generator →

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