#557F21#557F21

#557F21 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.6% C 0.130 H 130.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#557F21
RGBrgb(85, 127, 33)
HSLhsl(87, 59%, 31%)
HSVhsv(87, 74%, 50%)
CMYKcmyk(33.1%, 0%, 74%, 50.2%)
CIE-LABlab(48.54, -30.08, 43.96)
CIE-LCHlch(48.54, 53.27, 124.39°)
OKLaboklab(54.62% -0.0852 0.0988)
OKLCHoklch(54.62% 0.13 130.8)
XYZxyz(11.6101, 17.2195, 4.1505)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557F21 #4B217F
analogous
#7F7A21 #557F21 #267F21
triadic
#557F21 #21557F #7F2155
tetradic
#557F21 #217F7A #4B217F #7F2126
square
#557F21 #217F7A #4B217F #7F2126
split-complementary
#557F21 #21267F #7A217F
monochromatic
#141E08 #344E14 #557F21 #76B02E #94D04A

Accessibility & contrast

On white

4.73
#557F21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#557F21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557F21
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557F21#FFFFFF#000000##FFFFFF
##557F211.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857511
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#57796D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #557f21;
/* rgb */ color: rgb(85, 127, 33);
/* oklch */ color: oklch(54.6% 0.130 130.8);
Tailwind
colors: {
  custom: {
    50: '#89a463',
    500: '#557f21',
    950: '#000000',
  },
}
SCSS
$custom: #557f21;
$custom-light: #89a463;
$custom-dark: #000000;
JSON
{
  "hex": "#557f21",
  "rgb": {
    "r": 85,
    "g": 127,
    "b": 33
  },
  "hsl": {
    "h": 86.809,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.13049,
    "h": 130.8
  },
  "luminance": 0.1722
}

Semantic roles & 50–950 ramp

primary
#557F21
secondary
#784AB2
accent
#46E28C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #557F21

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

Preview Lab → · Contrast checker → · Palette generator →

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