#557215#557215

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

Color values

HEX#557215
RGBrgb(85, 114, 21)
HSLhsl(79, 69%, 26%)
HSVhsv(79, 82%, 45%)
CMYKcmyk(25.4%, 0%, 81.6%, 55.3%)
CIE-LABlab(44.26, -24.50, 44.21)
CIE-LCHlch(44.26, 50.55, 118.99°)
OKLaboklab(51.12% -0.071 0.0974)
OKLCHoklch(51.12% 0.121 126.1)
XYZxyz(9.8990, 14.0199, 2.8939)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557215 #321572
analogous
#726115 #557215 #277215
triadic
#557215 #155572 #721555
tetradic
#557215 #157261 #321572 #721527
square
#557215 #157261 #321572 #721527
split-complementary
#557215 #152772 #611572
monochromatic
#131A05 #2E3E0B #557215 #7CA61F #A1D82A

Accessibility & contrast

On white

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

On black

3.80
#557215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##557215#FFFFFF#000000##FFFFFF
##5572151.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#75681F
Tritanopia (blue-blind)
#596C61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #557215;
/* rgb */ color: rgb(85, 114, 21);
/* oklch */ color: oklch(51.1% 0.120 126.1);
Tailwind
colors: {
  custom: {
    50: '#889a5b',
    500: '#557215',
    950: '#000000',
  },
}
SCSS
$custom: #557215;
$custom-light: #889a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#557215",
  "rgb": {
    "r": 85,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 78.71,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.5112,
    "c": 0.1205,
    "h": 126.1
  },
  "luminance": 0.1402
}

Semantic roles & 50–950 ramp

primary
#557215
secondary
#5D3BA8
accent
#3CEC73
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #557215

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

Preview Lab → · Contrast checker → · Palette generator →

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