#556112#556112

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

Color values

HEX#556112
RGBrgb(85, 97, 18)
HSLhsl(69, 69%, 23%)
HSVhsv(69, 81%, 38%)
CMYKcmyk(12.4%, 0%, 81.4%, 62%)
CIE-LABlab(38.77, -15.76, 40.16)
CIE-LCHlch(38.77, 43.14, 111.43°)
OKLaboklab(46.68% -0.0473 0.0882)
OKLCHoklch(46.68% 0.1 118.2)
XYZxyz(8.1304, 10.5244, 2.1753)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556112 #1E1261
analogous
#614612 #556112 #2D6112
triadic
#556112 #125561 #611255
tetradic
#556112 #126146 #1E1261 #61122D
square
#556112 #126146 #1E1261 #61122D
split-complementary
#556112 #122D61 #461261
monochromatic
#171A05 #282D08 #556112 #82951C #AFC825

Accessibility & contrast

On white

6.76
#556112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#556112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556112
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556112#FFFFFF#000000##FFFFFF
##5561121.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B01
Deuteranopia (green-blind)
#675C19
Tritanopia (blue-blind)
#5B5B52
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #556112;
/* rgb */ color: rgb(85, 97, 18);
/* oklch */ color: oklch(46.7% 0.100 118.2);
Tailwind
colors: {
  custom: {
    50: '#888d57',
    500: '#556112',
    950: '#000000',
  },
}
SCSS
$custom: #556112;
$custom-light: #888d57;
$custom-dark: #000000;
JSON
{
  "hex": "#556112",
  "rgb": {
    "r": 85,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 69.114,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46675,
    "c": 0.10013,
    "h": 118.2
  },
  "luminance": 0.10524
}

Semantic roles & 50–950 ramp

primary
#556112
secondary
#453699
accent
#3CEC57
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #556112

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

Preview Lab → · Contrast checker → · Palette generator →

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