#557918#557918

#557918 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 53.0% C 0.128 H 128.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#557918
RGBrgb(85, 121, 24)
HSLhsl(82, 67%, 28%)
HSVhsv(82, 80%, 47%)
CMYKcmyk(29.8%, 0%, 80.2%, 52.5%)
CIE-LABlab(46.54, -27.78, 45.33)
CIE-LCHlch(46.54, 53.17, 121.50°)
OKLaboklab(52.98% -0.0797 0.1002)
OKLCHoklch(52.98% 0.128 128.5)
XYZxyz(10.7486, 15.6717, 3.3226)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#557918 #3C1879
analogous
#796C18 #557918 #247918
triadic
#557918 #185579 #791855
tetradic
#557918 #18796C #3C1879 #791824
square
#557918 #18796C #3C1879 #791824
split-complementary
#557918 #182479 #6C1879
monochromatic
#121A05 #31460E #557918 #79AC22 #9BD735

Accessibility & contrast

On white

5.08
#557918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#557918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #557918
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##557918#FFFFFF#000000##FFFFFF
##5579181.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7A6E22
Tritanopia (blue-blind)
#587367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #557918;
/* rgb */ color: rgb(85, 121, 24);
/* oklch */ color: oklch(53.0% 0.128 128.5);
Tailwind
colors: {
  custom: {
    50: '#89a05e',
    500: '#557918',
    950: '#000000',
  },
}
SCSS
$custom: #557918;
$custom-light: #89a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#557918",
  "rgb": {
    "r": 85,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 82.268,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52977,
    "c": 0.12804,
    "h": 128.5
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#557918
secondary
#683FAE
accent
#3EEA7E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #557918

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

Preview Lab → · Contrast checker → · Palette generator →

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