#557828#557828

#557828 is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 52.8% C 0.116 H 129.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#557828
RGBrgb(85, 120, 40)
HSLhsl(86, 50%, 31%)
HSVhsv(86, 67%, 47%)
CMYKcmyk(29.2%, 0%, 66.7%, 52.9%)
CIE-LABlab(46.33, -26.17, 38.68)
CIE-LCHlch(46.33, 46.70, 124.08°)
OKLaboklab(52.85% -0.0739 0.0888)
OKLCHoklch(52.85% 0.116 129.8)
XYZxyz(10.8457, 15.5171, 4.4308)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557828 #4B2878
analogous
#787328 #557828 #2D7828
triadic
#557828 #285578 #782855
tetradic
#557828 #287873 #4B2878 #78282D
square
#557828 #287873 #4B2878 #78282D
split-complementary
#557828 #282D78 #732878
monochromatic
#141C09 #344A19 #557828 #76A637 #94C654

Accessibility & contrast

On white

5.12
#557828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#557828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557828
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557828#FFFFFF#000000##FFFFFF
##5578281.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F1E
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#577367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #557828;
/* rgb */ color: rgb(85, 120, 40);
/* oklch */ color: oklch(52.8% 0.116 129.8);
Tailwind
colors: {
  custom: {
    50: '#889f66',
    500: '#557828',
    950: '#000000',
  },
}
SCSS
$custom: #557828;
$custom-light: #889f66;
$custom-dark: #000000;
JSON
{
  "hex": "#557828",
  "rgb": {
    "r": 85,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 86.25,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52847,
    "c": 0.1155,
    "h": 129.8
  },
  "luminance": 0.15517
}

Semantic roles & 50–950 ramp

primary
#557828
secondary
#7852AA
accent
#4EDA8B
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #557828

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

Preview Lab → · Contrast checker → · Palette generator →

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