#557227#557227

#557227 is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.3% C 0.108 H 127.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#557227
RGBrgb(85, 114, 39)
HSLhsl(83, 49%, 30%)
HSVhsv(83, 66%, 45%)
CMYKcmyk(25.4%, 0%, 65.8%, 55.3%)
CIE-LABlab(44.39, -23.26, 37.04)
CIE-LCHlch(44.39, 43.74, 122.12°)
OKLaboklab(51.27% -0.066 0.0852)
OKLCHoklch(51.27% 0.108 127.7)
XYZxyz(10.1298, 14.1122, 4.1093)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557227 #442772
analogous
#726A27 #557227 #2F7227
triadic
#557227 #275572 #722755
tetradic
#557227 #27726A #442772 #72272F
square
#557227 #27726A #442772 #72272F
split-complementary
#557227 #272F72 #6A2772
monochromatic
#111708 #334417 #557227 #77A037 #97C350

Accessibility & contrast

On white

5.49
#557227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#557227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557227
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557227#FFFFFF#000000##FFFFFF
##5572271.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1E
Deuteranopia (green-blind)
#74682D
Tritanopia (blue-blind)
#586D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #557227;
/* rgb */ color: rgb(85, 114, 39);
/* oklch */ color: oklch(51.3% 0.108 127.7);
Tailwind
colors: {
  custom: {
    50: '#879a65',
    500: '#557227',
    950: '#000000',
  },
}
SCSS
$custom: #557227;
$custom-light: #879a65;
$custom-dark: #000000;
JSON
{
  "hex": "#557227",
  "rgb": {
    "r": 85,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 83.2,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.51269,
    "c": 0.10774,
    "h": 127.7
  },
  "luminance": 0.14112
}

Semantic roles & 50–950 ramp

primary
#557227
secondary
#7150A4
accent
#4FD984
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #557227

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

Preview Lab → · Contrast checker → · Palette generator →

#557227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva