#557228#557228

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

Color values

HEX#557228
RGBrgb(85, 114, 40)
HSLhsl(84, 48%, 30%)
HSVhsv(84, 65%, 45%)
CMYKcmyk(25.4%, 0%, 64.9%, 55.3%)
CIE-LABlab(44.40, -23.17, 36.58)
CIE-LCHlch(44.40, 43.30, 122.35°)
OKLaboklab(51.28% -0.0656 0.0843)
OKLCHoklch(51.28% 0.107 127.9)
XYZxyz(10.1466, 14.1189, 4.1977)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557228 #452872
analogous
#726A28 #557228 #307228
triadic
#557228 #285572 #722855
tetradic
#557228 #28726A #452872 #722830
square
#557228 #28726A #452872 #722830
split-complementary
#557228 #283072 #6A2872
monochromatic
#111708 #334518 #557228 #779F38 #96C252

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##557228#FFFFFF#000000##FFFFFF
##5572281.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)
#786A1F
Deuteranopia (green-blind)
#74682D
Tritanopia (blue-blind)
#586D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #557228;
/* rgb */ color: rgb(85, 114, 40);
/* oklch */ color: oklch(51.3% 0.107 127.9);
Tailwind
colors: {
  custom: {
    50: '#879a65',
    500: '#557228',
    950: '#000000',
  },
}
SCSS
$custom: #557228;
$custom-light: #879a65;
$custom-dark: #000000;
JSON
{
  "hex": "#557228",
  "rgb": {
    "r": 85,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 83.514,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5128,
    "c": 0.10685,
    "h": 127.9
  },
  "luminance": 0.14119
}

Semantic roles & 50–950 ramp

primary
#557228
secondary
#7252A4
accent
#50D885
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #557228

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

Preview Lab → · Contrast checker → · Palette generator →

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