#556E12#556E12

#556E12 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.1% C 0.117 H 124.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#556E12
RGBrgb(85, 110, 18)
HSLhsl(76, 72%, 25%)
HSVhsv(76, 84%, 43%)
CMYKcmyk(22.7%, 0%, 83.6%, 56.9%)
CIE-LABlab(42.95, -22.63, 43.98)
CIE-LCHlch(42.95, 49.46, 117.22°)
OKLaboklab(50.06% -0.0661 0.0964)
OKLCHoklch(50.06% 0.117 124.5)
XYZxyz(9.4315, 13.1267, 2.6090)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556E12 #2B126E
analogous
#6E5912 #556E12 #276E12
triadic
#556E12 #12556E #6E1255
tetradic
#556E12 #126E59 #2B126E #6E1227
square
#556E12 #126E59 #2B126E #6E1227
split-complementary
#556E12 #12276E #59126E
monochromatic
#141A04 #2C3909 #556E12 #7EA31B #A6D723

Accessibility & contrast

On white

5.79
#556E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#556E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556E12
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556E12#FFFFFF#000000##FFFFFF
##556E121.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#59685D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #556e12;
/* rgb */ color: rgb(85, 110, 18);
/* oklch */ color: oklch(50.1% 0.117 124.5);
Tailwind
colors: {
  custom: {
    50: '#889759',
    500: '#556e12',
    950: '#000000',
  },
}
SCSS
$custom: #556e12;
$custom-light: #889759;
$custom-dark: #000000;
JSON
{
  "hex": "#556e12",
  "rgb": {
    "r": 85,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 76.304,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50055,
    "c": 0.11686,
    "h": 124.5
  },
  "luminance": 0.13127
}

Semantic roles & 50–950 ramp

primary
#556E12
secondary
#5537A5
accent
#39EF6A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556E12

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

Preview Lab → · Contrast checker → · Palette generator →

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