#557F28#557F28

#557F28 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.7% C 0.125 H 131.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#557F28
RGBrgb(85, 127, 40)
HSLhsl(89, 52%, 33%)
HSVhsv(89, 69%, 50%)
CMYKcmyk(33.1%, 0%, 68.5%, 50.2%)
CIE-LABlab(48.59, -29.55, 41.10)
CIE-LCHlch(48.59, 50.61, 125.71°)
OKLaboklab(54.68% -0.0831 0.0939)
OKLCHoklch(54.68% 0.125 131.5)
XYZxyz(11.7186, 17.2628, 4.7217)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557F28 #52287F
analogous
#7F7E28 #557F28 #297F28
triadic
#557F28 #28557F #7F2855
tetradic
#557F28 #287F7E #52287F #7F2829
square
#557F28 #287F7E #52287F #7F2829
split-complementary
#557F28 #28297F #7E287F
monochromatic
#17220B #365019 #557F28 #74AE37 #93CA57

Accessibility & contrast

On white

4.72
#557F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#557F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557F28
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557F28#FFFFFF#000000##FFFFFF
##557F281.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85751C
Deuteranopia (green-blind)
#7F722F
Tritanopia (blue-blind)
#567A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #557f28;
/* rgb */ color: rgb(85, 127, 40);
/* oklch */ color: oklch(54.7% 0.125 131.5);
Tailwind
colors: {
  custom: {
    50: '#88a467',
    500: '#557f28',
    950: '#000000',
  },
}
SCSS
$custom: #557f28;
$custom-light: #88a467;
$custom-dark: #000000;
JSON
{
  "hex": "#557f28",
  "rgb": {
    "r": 85,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 88.966,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5468,
    "c": 0.1254,
    "h": 131.5
  },
  "luminance": 0.17263
}

Semantic roles & 50–950 ramp

primary
#557F28
secondary
#8054AF
accent
#4CDC91
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #557F28

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

Preview Lab → · Contrast checker → · Palette generator →

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