#556D23#556D23

#556D23 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.9% C 0.104 H 125.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#556D23
RGBrgb(85, 109, 35)
HSLhsl(79, 51%, 28%)
HSVhsv(79, 68%, 43%)
CMYKcmyk(22%, 0%, 67.9%, 57.3%)
CIE-LABlab(42.75, -21.03, 37.12)
CIE-LCHlch(42.75, 42.67, 119.53°)
OKLaboklab(49.93% -0.0602 0.0848)
OKLCHoklch(49.93% 0.104 125.4)
XYZxyz(9.5184, 12.9898, 3.5956)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#556D23 #3B236D
analogous
#6D6023 #556D23 #306D23
triadic
#556D23 #23556D #6D2355
tetradic
#556D23 #236D60 #3B236D #6D2330
square
#556D23 #236D60 #3B236D #6D2330
split-complementary
#556D23 #23306D #60236D
monochromatic
#121707 #313F14 #556D23 #799B32 #9BC447

Accessibility & contrast

On white

5.84
#556D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#556D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #556D23
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##556D23#FFFFFF#000000##FFFFFF
##556D231.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736619
Deuteranopia (green-blind)
#706529
Tritanopia (blue-blind)
#59685E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #556d23;
/* rgb */ color: rgb(85, 109, 35);
/* oklch */ color: oklch(49.9% 0.104 125.4);
Tailwind
colors: {
  custom: {
    50: '#879762',
    500: '#556d23',
    950: '#000000',
  },
}
SCSS
$custom: #556d23;
$custom-light: #879762;
$custom-dark: #000000;
JSON
{
  "hex": "#556d23",
  "rgb": {
    "r": 85,
    "g": 109,
    "b": 35
  },
  "hsl": {
    "h": 79.459,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49926,
    "c": 0.104,
    "h": 125.4
  },
  "luminance": 0.1299
}

Semantic roles & 50–950 ramp

primary
#556D23
secondary
#674BA0
accent
#4DDB7B
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #556D23

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

Preview Lab → · Contrast checker → · Palette generator →

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