#556712#556712

#556712 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.2% C 0.108 H 121.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#556712
RGBrgb(85, 103, 18)
HSLhsl(73, 70%, 24%)
HSVhsv(73, 83%, 40%)
CMYKcmyk(17.5%, 0%, 82.5%, 59.6%)
CIE-LABlab(40.70, -18.99, 41.93)
CIE-LCHlch(40.70, 46.03, 114.37°)
OKLaboklab(48.23% -0.0562 0.092)
OKLCHoklch(48.23% 0.108 121.4)
XYZxyz(8.7059, 11.6755, 2.3671)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556712 #241267
analogous
#674E12 #556712 #2A6712
triadic
#556712 #125567 #671255
tetradic
#556712 #12674E #241267 #67122A
square
#556712 #12674E #241267 #67122A
split-complementary
#556712 #122A67 #4E1267
monochromatic
#151A05 #2A3309 #556712 #809B1B #ABCF24

Accessibility & contrast

On white

6.30
#556712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#556712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556712
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556712#FFFFFF#000000##FFFFFF
##5567121.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6C601A
Tritanopia (blue-blind)
#5A6157
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #556712;
/* rgb */ color: rgb(85, 103, 18);
/* oklch */ color: oklch(48.2% 0.108 121.4);
Tailwind
colors: {
  custom: {
    50: '#889258',
    500: '#556712',
    950: '#000000',
  },
}
SCSS
$custom: #556712;
$custom-light: #889258;
$custom-dark: #000000;
JSON
{
  "hex": "#556712",
  "rgb": {
    "r": 85,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 72.706,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48229,
    "c": 0.10781,
    "h": 121.4
  },
  "luminance": 0.11675
}

Semantic roles & 50–950 ramp

primary
#556712
secondary
#4C369F
accent
#3BED61
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #556712

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

Preview Lab → · Contrast checker → · Palette generator →

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