#557F17#557F17

#557F17 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.136 H 130.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#557F17
RGBrgb(85, 127, 23)
HSLhsl(84, 69%, 29%)
HSVhsv(84, 82%, 50%)
CMYKcmyk(33.1%, 0%, 81.9%, 50.2%)
CIE-LABlab(48.48, -30.68, 47.46)
CIE-LCHlch(48.48, 56.51, 122.88°)
OKLaboklab(54.55% -0.0876 0.1045)
OKLCHoklch(54.55% 0.136 130)
XYZxyz(11.4903, 17.1715, 3.5195)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557F17 #41177F
analogous
#7F7517 #557F17 #217F17
triadic
#557F17 #17557F #7F1755
tetradic
#557F17 #177F75 #41177F #7F1721
square
#557F17 #177F75 #41177F #7F1721
split-complementary
#557F17 #17217F #75177F
monochromatic
#111A05 #324B0E #557F17 #78B320 #98DB36

Accessibility & contrast

On white

4.74
#557F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#557F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557F17
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557F17#FFFFFF#000000##FFFFFF
##557F171.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#807222
Tritanopia (blue-blind)
#57796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #557f17;
/* rgb */ color: rgb(85, 127, 23);
/* oklch */ color: oklch(54.5% 0.136 130.0);
Tailwind
colors: {
  custom: {
    50: '#89a45e',
    500: '#557f17',
    950: '#000000',
  },
}
SCSS
$custom: #557f17;
$custom-light: #89a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#557f17",
  "rgb": {
    "r": 85,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 84.231,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5455,
    "c": 0.13639,
    "h": 130
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#557F17
secondary
#6E3EB4
accent
#3CEC83
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #557F17

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

Preview Lab → · Contrast checker → · Palette generator →

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