#556A12#556A12

#556A12 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.0% C 0.112 H 122.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#556A12
RGBrgb(85, 106, 18)
HSLhsl(74, 71%, 24%)
HSVhsv(74, 83%, 42%)
CMYKcmyk(19.8%, 0%, 83%, 58.4%)
CIE-LABlab(41.66, -20.57, 42.81)
CIE-LCHlch(41.66, 47.50, 115.66°)
OKLaboklab(49.01% -0.0605 0.0939)
OKLCHoklch(49.01% 0.112 122.8)
XYZxyz(9.0097, 12.2830, 2.4684)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556A12 #27126A
analogous
#6A5312 #556A12 #296A12
triadic
#556A12 #12556A #6A1255
tetradic
#556A12 #126A53 #27126A #6A1229
square
#556A12 #126A53 #27126A #6A1229
split-complementary
#556A12 #12296A #53126A
monochromatic
#151A04 #2B3609 #556A12 #7F9E1B #A9D324

Accessibility & contrast

On white

6.08
#556A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#556A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556A12
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556A12#FFFFFF#000000##FFFFFF
##556A121.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6E621B
Tritanopia (blue-blind)
#5A645A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #556a12;
/* rgb */ color: rgb(85, 106, 18);
/* oklch */ color: oklch(49.0% 0.112 122.8);
Tailwind
colors: {
  custom: {
    50: '#889459',
    500: '#556a12',
    950: '#000000',
  },
}
SCSS
$custom: #556a12;
$custom-light: #889459;
$custom-dark: #000000;
JSON
{
  "hex": "#556a12",
  "rgb": {
    "r": 85,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 74.318,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4901,
    "c": 0.11168,
    "h": 122.8
  },
  "luminance": 0.12283
}

Semantic roles & 50–950 ramp

primary
#556A12
secondary
#5036A2
accent
#3AEE65
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556A12

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

Preview Lab → · Contrast checker → · Palette generator →

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