#556312#556312

#556312 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.2% C 0.103 H 119.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#556312
RGBrgb(85, 99, 18)
HSLhsl(70, 69%, 23%)
HSVhsv(70, 82%, 39%)
CMYKcmyk(14.1%, 0%, 81.8%, 61.2%)
CIE-LABlab(39.41, -16.85, 40.75)
CIE-LCHlch(39.41, 44.10, 112.46°)
OKLaboklab(47.19% -0.0503 0.0895)
OKLCHoklch(47.19% 0.103 119.4)
XYZxyz(8.3175, 10.8987, 2.2376)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556312 #201263
analogous
#634812 #556312 #2D6312
triadic
#556312 #125563 #631255
tetradic
#556312 #126348 #201263 #63122D
square
#556312 #126348 #201263 #63122D
split-complementary
#556312 #122D63 #481263
monochromatic
#161A05 #292F09 #556312 #81971B #AECB25

Accessibility & contrast

On white

6.60
#556312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#556312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556312
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556312#FFFFFF#000000##FFFFFF
##5563121.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#5A5D54
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #556312;
/* rgb */ color: rgb(85, 99, 18);
/* oklch */ color: oklch(47.2% 0.103 119.4);
Tailwind
colors: {
  custom: {
    50: '#888f58',
    500: '#556312',
    950: '#000000',
  },
}
SCSS
$custom: #556312;
$custom-light: #888f58;
$custom-dark: #000000;
JSON
{
  "hex": "#556312",
  "rgb": {
    "r": 85,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 70.37,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47192,
    "c": 0.10268,
    "h": 119.4
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#556312
secondary
#47369B
accent
#3CEC5A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #556312

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

Preview Lab → · Contrast checker → · Palette generator →

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