#557817#557817

#557817 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.7% C 0.127 H 128.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#557817
RGBrgb(85, 120, 23)
HSLhsl(82, 68%, 28%)
HSVhsv(82, 81%, 47%)
CMYKcmyk(29.2%, 0%, 80.8%, 52.9%)
CIE-LABlab(46.21, -27.35, 45.36)
CIE-LCHlch(46.21, 52.97, 121.09°)
OKLaboklab(52.71% -0.0786 0.1001)
OKLCHoklch(52.71% 0.127 128.1)
XYZxyz(10.6174, 15.4258, 3.2285)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557817 #3A1778
analogous
#786A17 #557817 #257817
triadic
#557817 #175578 #781755
tetradic
#557817 #17786A #3A1778 #781725
square
#557817 #17786A #3A1778 #781725
split-complementary
#557817 #172578 #6A1778
monochromatic
#121A05 #31450D #557817 #79AB21 #9CD832

Accessibility & contrast

On white

5.14
#557817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#557817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557817
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557817#FFFFFF#000000##FFFFFF
##5578171.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#587266
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #557817;
/* rgb */ color: rgb(85, 120, 23);
/* oklch */ color: oklch(52.7% 0.127 128.1);
Tailwind
colors: {
  custom: {
    50: '#889f5d',
    500: '#557817',
    950: '#000000',
  },
}
SCSS
$custom: #557817;
$custom-light: #889f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#557817",
  "rgb": {
    "r": 85,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 81.649,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52708,
    "c": 0.12728,
    "h": 128.1
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#557817
secondary
#663EAD
accent
#3DEB7C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #557817

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

Preview Lab → · Contrast checker → · Palette generator →

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