#557D21#557D21

#557D21 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.1% C 0.128 H 130.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#557D21
RGBrgb(85, 125, 33)
HSLhsl(86, 58%, 31%)
HSVhsv(86, 74%, 49%)
CMYKcmyk(32%, 0%, 73.6%, 51%)
CIE-LABlab(47.89, -29.14, 43.31)
CIE-LCHlch(47.89, 52.20, 123.93°)
OKLaboklab(54.09% -0.0826 0.0975)
OKLCHoklch(54.09% 0.128 130.3)
XYZxyz(11.3544, 16.7080, 4.0653)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557D21 #49217D
analogous
#7D7721 #557D21 #277D21
triadic
#557D21 #21557D #7D2155
tetradic
#557D21 #217D77 #49217D #7D2127
square
#557D21 #217D77 #49217D #7D2127
split-complementary
#557D21 #21277D #77217D
monochromatic
#131C07 #344D14 #557D21 #76AD2E #95CF49

Accessibility & contrast

On white

4.84
#557D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#557D21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557D21
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557D21#FFFFFF#000000##FFFFFF
##557D211.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837411
Deuteranopia (green-blind)
#7D7129
Tritanopia (blue-blind)
#57776B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #557d21;
/* rgb */ color: rgb(85, 125, 33);
/* oklch */ color: oklch(54.1% 0.128 130.3);
Tailwind
colors: {
  custom: {
    50: '#88a363',
    500: '#557d21',
    950: '#000000',
  },
}
SCSS
$custom: #557d21;
$custom-light: #88a363;
$custom-dark: #000000;
JSON
{
  "hex": "#557d21",
  "rgb": {
    "r": 85,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 86.087,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54093,
    "c": 0.12779,
    "h": 130.3
  },
  "luminance": 0.16708
}

Semantic roles & 50–950 ramp

primary
#557D21
secondary
#764AB0
accent
#46E18A
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #557D21

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

Preview Lab → · Contrast checker → · Palette generator →

#557D21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva