#556C1F#556C1F

#556C1F is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.6% C 0.106 H 124.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#556C1F
RGBrgb(85, 108, 31)
HSLhsl(78, 55%, 27%)
HSVhsv(78, 71%, 42%)
CMYKcmyk(21.3%, 0%, 71.3%, 57.6%)
CIE-LABlab(42.39, -20.83, 38.54)
CIE-LCHlch(42.39, 43.81, 118.38°)
OKLaboklab(49.63% -0.06 0.0872)
OKLCHoklch(49.63% 0.106 124.6)
XYZxyz(9.3563, 12.7553, 3.2651)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556C1F #361F6C
analogous
#6C5D1F #556C1F #2F6C1F
triadic
#556C1F #1F556C #6C1F55
tetradic
#556C1F #1F6C5D #361F6C #6C1F2F
square
#556C1F #1F6C5D #361F6C #6C1F2F
split-complementary
#556C1F #1F2F6C #5D1F6C
monochromatic
#131807 #303C11 #556C1F #7A9C2D #9EC83E

Accessibility & contrast

On white

5.91
#556C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#556C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556C1F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556C1F#FFFFFF#000000##FFFFFF
##556C1F1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726514
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#59675D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #556c1f;
/* rgb */ color: rgb(85, 108, 31);
/* oklch */ color: oklch(49.6% 0.106 124.6);
Tailwind
colors: {
  custom: {
    50: '#87965f',
    500: '#556c1f',
    950: '#000000',
  },
}
SCSS
$custom: #556c1f;
$custom-light: #87965f;
$custom-dark: #000000;
JSON
{
  "hex": "#556c1f",
  "rgb": {
    "r": 85,
    "g": 108,
    "b": 31
  },
  "hsl": {
    "h": 77.922,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49628,
    "c": 0.10584,
    "h": 124.6
  },
  "luminance": 0.12755
}

Semantic roles & 50–950 ramp

primary
#556C1F
secondary
#6147A0
accent
#49DF76
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #556C1F

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

Preview Lab → · Contrast checker → · Palette generator →

#556C1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva