#556217#556217

#556217 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 47.0% C 0.098 H 119.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#556217
RGBrgb(85, 98, 23)
HSLhsl(70, 62%, 24%)
HSVhsv(70, 77%, 38%)
CMYKcmyk(13.3%, 0%, 76.5%, 61.6%)
CIE-LABlab(39.12, -16.03, 38.60)
CIE-LCHlch(39.12, 41.80, 112.56°)
OKLaboklab(46.97% -0.0476 0.0859)
OKLCHoklch(46.97% 0.098 119)
XYZxyz(8.2688, 10.7286, 2.4457)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556217 #241762
analogous
#624917 #556217 #2F6217
triadic
#556217 #175562 #621755
tetradic
#556217 #176249 #241762 #62172F
square
#556217 #176249 #241762 #62172F
split-complementary
#556217 #172F62 #491762
monochromatic
#151906 #2A300B #556217 #809423 #ABC52E

Accessibility & contrast

On white

6.68
#556217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#556217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556217
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556217#FFFFFF#000000##FFFFFF
##5562171.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C09
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#5A5C53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #556217;
/* rgb */ color: rgb(85, 98, 23);
/* oklch */ color: oklch(47.0% 0.098 119.0);
Tailwind
colors: {
  custom: {
    50: '#878e5a',
    500: '#556217',
    950: '#000000',
  },
}
SCSS
$custom: #556217;
$custom-light: #878e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#556217",
  "rgb": {
    "r": 85,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 70.4,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46968,
    "c": 0.09822,
    "h": 119
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#556217
secondary
#4C3C99
accent
#43E55F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #556217

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

Preview Lab → · Contrast checker → · Palette generator →

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