#556118#556118

#556118 is a mid, moderate yellow. Relative luminance 0.105; OKLCH L 46.7% C 0.096 H 118.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#556118
RGBrgb(85, 97, 24)
HSLhsl(70, 60%, 24%)
HSVhsv(70, 75%, 38%)
CMYKcmyk(12.4%, 0%, 75.3%, 62%)
CIE-LABlab(38.81, -15.43, 37.89)
CIE-LCHlch(38.81, 40.91, 112.15°)
OKLaboklab(46.72% -0.0458 0.0846)
OKLCHoklch(46.72% 0.096 118.4)
XYZxyz(8.1860, 10.5467, 2.4684)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556118 #241861
analogous
#614818 #556118 #306118
triadic
#556118 #185561 #611855
tetradic
#556118 #186148 #241861 #611830
square
#556118 #186148 #241861 #611830
split-complementary
#556118 #183061 #481861
monochromatic
#151906 #2A300C #556118 #809224 #ABC330

Accessibility & contrast

On white

6.75
#556118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#556118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556118
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556118#FFFFFF#000000##FFFFFF
##5561181.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0B
Deuteranopia (green-blind)
#665C1E
Tritanopia (blue-blind)
#5A5B53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #556118;
/* rgb */ color: rgb(85, 97, 24);
/* oklch */ color: oklch(46.7% 0.096 118.4);
Tailwind
colors: {
  custom: {
    50: '#878d5a',
    500: '#556118',
    950: '#000000',
  },
}
SCSS
$custom: #556118;
$custom-light: #878d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#556118",
  "rgb": {
    "r": 85,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 69.863,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46719,
    "c": 0.09621,
    "h": 118.4
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

primary
#556118
secondary
#4C3D97
accent
#44E35E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #556118

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

Preview Lab → · Contrast checker → · Palette generator →

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