#556A0F#556A0F

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

Color values

HEX#556A0F
RGBrgb(85, 106, 15)
HSLhsl(74, 75%, 24%)
HSVhsv(74, 86%, 42%)
CMYKcmyk(19.8%, 0%, 85.8%, 58.4%)
CIE-LABlab(41.65, -20.70, 43.73)
CIE-LCHlch(41.65, 48.38, 115.33°)
OKLaboklab(48.99% -0.0611 0.0953)
OKLCHoklch(48.99% 0.113 122.7)
XYZxyz(8.9867, 12.2738, 2.3475)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556A0F #240F6A
analogous
#6A510F #556A0F #276A0F
triadic
#556A0F #0F556A #6A0F55
tetradic
#556A0F #0F6A51 #240F6A #6A0F27
square
#556A0F #0F6A51 #240F6A #6A0F27
split-complementary
#556A0F #0F276A #510F6A
monochromatic
#151B04 #2A3407 #556A0F #80A017 #ABD51E

Accessibility & contrast

On white

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

On black

3.45
#556A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##556A0F#FFFFFF#000000##FFFFFF
##556A0F1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #556a0f;
/* rgb */ color: rgb(85, 106, 15);
/* oklch */ color: oklch(49.0% 0.113 122.7);
Tailwind
colors: {
  custom: {
    50: '#889458',
    500: '#556a0f',
    950: '#000000',
  },
}
SCSS
$custom: #556a0f;
$custom-light: #889458;
$custom-dark: #000000;
JSON
{
  "hex": "#556a0f",
  "rgb": {
    "r": 85,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 73.846,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48994,
    "c": 0.11318,
    "h": 122.7
  },
  "luminance": 0.12274
}

Semantic roles & 50–950 ramp

primary
#556A0F
secondary
#4C32A2
accent
#36F261
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #556A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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