#557217#557217

#557217 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.1% C 0.119 H 126.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#557217
RGBrgb(85, 114, 23)
HSLhsl(79, 66%, 27%)
HSVhsv(79, 80%, 45%)
CMYKcmyk(25.4%, 0%, 79.8%, 55.3%)
CIE-LABlab(44.27, -24.40, 43.54)
CIE-LCHlch(44.27, 49.91, 119.26°)
OKLaboklab(51.13% -0.0705 0.0963)
OKLCHoklch(51.13% 0.119 126.2)
XYZxyz(9.9183, 14.0276, 2.9955)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557217 #341772
analogous
#726217 #557217 #287217
triadic
#557217 #175572 #721755
tetradic
#557217 #177262 #341772 #721728
square
#557217 #177262 #341772 #721728
split-complementary
#557217 #172872 #621772
monochromatic
#131905 #2F3F0D #557217 #7BA521 #A0D52E

Accessibility & contrast

On white

5.52
#557217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#557217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557217
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557217#FFFFFF#000000##FFFFFF
##5572171.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A02
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#596C61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #557217;
/* rgb */ color: rgb(85, 114, 23);
/* oklch */ color: oklch(51.1% 0.119 126.2);
Tailwind
colors: {
  custom: {
    50: '#889a5c',
    500: '#557217',
    950: '#000000',
  },
}
SCSS
$custom: #557217;
$custom-light: #889a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#557217",
  "rgb": {
    "r": 85,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 79.121,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51133,
    "c": 0.11938,
    "h": 126.2
  },
  "luminance": 0.14028
}

Semantic roles & 50–950 ramp

primary
#557217
secondary
#5F3DA8
accent
#3EE975
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #557217

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

Preview Lab → · Contrast checker → · Palette generator →

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