#556B1F#556B1F

#556B1F is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.4% C 0.104 H 124.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#556B1F
RGBrgb(85, 107, 31)
HSLhsl(77, 55%, 27%)
HSVhsv(77, 71%, 42%)
CMYKcmyk(20.6%, 0%, 71%, 58%)
CIE-LABlab(42.07, -20.30, 38.21)
CIE-LCHlch(42.07, 43.27, 117.99°)
OKLaboklab(49.37% -0.0586 0.0865)
OKLCHoklch(49.37% 0.104 124.1)
XYZxyz(9.2514, 12.5455, 3.2302)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556B1F #351F6B
analogous
#6B5B1F #556B1F #2F6B1F
triadic
#556B1F #1F556B #6B1F55
tetradic
#556B1F #1F6B5B #351F6B #6B1F2F
square
#556B1F #1F6B5B #351F6B #6B1F2F
split-complementary
#556B1F #1F2F6B #5B1F6B
monochromatic
#131807 #2F3C11 #556B1F #7B9A2D #9FC73D

Accessibility & contrast

On white

5.98
#556B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#556B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556B1F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556B1F#FFFFFF#000000##FFFFFF
##556B1F1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#59665C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #556b1f;
/* rgb */ color: rgb(85, 107, 31);
/* oklch */ color: oklch(49.4% 0.104 124.1);
Tailwind
colors: {
  custom: {
    50: '#87955f',
    500: '#556b1f',
    950: '#000000',
  },
}
SCSS
$custom: #556b1f;
$custom-light: #87955f;
$custom-dark: #000000;
JSON
{
  "hex": "#556b1f",
  "rgb": {
    "r": 85,
    "g": 107,
    "b": 31
  },
  "hsl": {
    "h": 77.368,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49367,
    "c": 0.10445,
    "h": 124.1
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#556B1F
secondary
#60479F
accent
#49DE75
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #556B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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