#578018#578018

#578018 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.9% C 0.136 H 129.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#578018
RGBrgb(87, 128, 24)
HSLhsl(84, 68%, 30%)
HSVhsv(84, 81%, 50%)
CMYKcmyk(32%, 0%, 81.3%, 49.8%)
CIE-LABlab(48.92, -30.30, 47.59)
CIE-LCHlch(48.92, 56.42, 122.48°)
OKLaboklab(54.95% -0.0866 0.1049)
OKLCHoklch(54.95% 0.136 129.5)
XYZxyz(11.8145, 17.5302, 3.6252)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578018 #411880
analogous
#807518 #578018 #238018
triadic
#578018 #185780 #801857
tetradic
#578018 #188075 #411880 #801823
square
#578018 #188075 #411880 #801823
split-complementary
#578018 #182380 #751880
monochromatic
#121A05 #344C0E #578018 #7AB422 #9ADA39

Accessibility & contrast

On white

4.66
#578018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#578018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #578018
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578018#FFFFFF#000000##FFFFFF
##5780181.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#817323
Tritanopia (blue-blind)
#5A7A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #578018;
/* rgb */ color: rgb(87, 128, 24);
/* oklch */ color: oklch(54.9% 0.136 129.5);
Tailwind
colors: {
  custom: {
    50: '#8aa55f',
    500: '#578018',
    950: '#000000',
  },
}
SCSS
$custom: #578018;
$custom-light: #8aa55f;
$custom-dark: #000000;
JSON
{
  "hex": "#578018",
  "rgb": {
    "r": 87,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 83.654,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54947,
    "c": 0.13607,
    "h": 129.5
  },
  "luminance": 0.17531
}

Semantic roles & 50–950 ramp

primary
#578018
secondary
#6E40B4
accent
#3DEB81
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #578018

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

Preview Lab → · Contrast checker → · Palette generator →

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