#578118#578118

#578118 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.2% C 0.137 H 129.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#578118
RGBrgb(87, 129, 24)
HSLhsl(84, 69%, 30%)
HSVhsv(84, 81%, 51%)
CMYKcmyk(32.6%, 0%, 81.4%, 49.4%)
CIE-LABlab(49.24, -30.77, 47.89)
CIE-LCHlch(49.24, 56.92, 122.72°)
OKLaboklab(55.21% -0.0879 0.1056)
OKLCHoklch(55.21% 0.137 129.8)
XYZxyz(11.9456, 17.7923, 3.6689)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578118 #421881
analogous
#817618 #578118 #238118
triadic
#578118 #185781 #811857
tetradic
#578118 #188176 #421881 #811823
square
#578118 #188176 #421881 #811823
split-complementary
#578118 #182381 #761881
monochromatic
#111A05 #344D0E #578118 #7AB522 #9ADA39

Accessibility & contrast

On white

4.61
#578118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#578118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #578118
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578118#FFFFFF#000000##FFFFFF
##5781181.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#827423
Tritanopia (blue-blind)
#5A7B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #578118;
/* rgb */ color: rgb(87, 129, 24);
/* oklch */ color: oklch(55.2% 0.137 129.8);
Tailwind
colors: {
  custom: {
    50: '#8aa65f',
    500: '#578118',
    950: '#000000',
  },
}
SCSS
$custom: #578118;
$custom-light: #8aa65f;
$custom-dark: #000000;
JSON
{
  "hex": "#578118",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 84,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.55209,
    "c": 0.13737,
    "h": 129.8
  },
  "luminance": 0.17793
}

Semantic roles & 50–950 ramp

primary
#578118
secondary
#6F40B5
accent
#3CEB82
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #578118

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

Preview Lab → · Contrast checker → · Palette generator →

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