#578918#578918

#578918 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.3% C 0.148 H 131.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#578918
RGBrgb(87, 137, 24)
HSLhsl(87, 70%, 32%)
HSVhsv(87, 82%, 54%)
CMYKcmyk(36.5%, 0%, 82.5%, 46.3%)
CIE-LABlab(51.82, -34.43, 50.25)
CIE-LCHlch(51.82, 60.92, 124.42°)
OKLaboklab(57.31% -0.0978 0.1106)
OKLCHoklch(57.31% 0.148 131.5)
XYZxyz(13.0409, 19.9830, 4.0340)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578918 #4A1889
analogous
#898318 #578918 #1E8918
triadic
#578918 #185789 #891857
tetradic
#578918 #188983 #4A1889 #89181E
square
#578918 #188983 #4A1889 #89181E
split-complementary
#578918 #181E89 #831889
monochromatic
#152106 #36550F #578918 #78BD21 #97DD3E

Accessibility & contrast

On white

4.20
#578918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#578918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578918
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578918#FFFFFF#000000##000000
##5789181.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#897A25
Tritanopia (blue-blind)
#598374
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #578918;
/* rgb */ color: rgb(87, 137, 24);
/* oklch */ color: oklch(57.3% 0.148 131.5);
Tailwind
colors: {
  custom: {
    50: '#8bac60',
    500: '#578918',
    950: '#000000',
  },
}
SCSS
$custom: #578918;
$custom-light: #8bac60;
$custom-dark: #000000;
JSON
{
  "hex": "#578918",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 86.549,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5731,
    "c": 0.14759,
    "h": 131.5
  },
  "luminance": 0.19984
}

Semantic roles & 50–950 ramp

primary
#578918
secondary
#7740BD
accent
#3BED8A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #578918

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

Preview Lab → · Contrast checker → · Palette generator →

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