#578518#578518

#578518 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.3% C 0.143 H 130.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#578518
RGBrgb(87, 133, 24)
HSLhsl(85, 69%, 31%)
HSVhsv(85, 82%, 52%)
CMYKcmyk(34.6%, 0%, 82%, 47.8%)
CIE-LABlab(50.53, -32.62, 49.08)
CIE-LCHlch(50.53, 58.93, 123.61°)
OKLaboklab(56.26% -0.0929 0.1081)
OKLCHoklch(56.26% 0.143 130.7)
XYZxyz(12.4828, 18.8668, 3.8479)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578518 #461885
analogous
#857C18 #578518 #208518
triadic
#578518 #185785 #851857
tetradic
#578518 #18857C #461885 #851820
square
#578518 #18857C #461885 #851820
split-complementary
#578518 #182085 #7C1885
monochromatic
#131D05 #35510F #578518 #79B921 #98DC3C

Accessibility & contrast

On white

4.40
#578518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#578518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #578518
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578518#FFFFFF#000000##000000
##5785181.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#597F71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #578518;
/* rgb */ color: rgb(87, 133, 24);
/* oklch */ color: oklch(56.3% 0.143 130.7);
Tailwind
colors: {
  custom: {
    50: '#8ba95f',
    500: '#578518',
    950: '#000000',
  },
}
SCSS
$custom: #578518;
$custom-light: #8ba95f;
$custom-dark: #000000;
JSON
{
  "hex": "#578518",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 85.321,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56259,
    "c": 0.14251,
    "h": 130.7
  },
  "luminance": 0.18867
}

Semantic roles & 50–950 ramp

primary
#578518
secondary
#7340B9
accent
#3CEC86
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #578518

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

Preview Lab → · Contrast checker → · Palette generator →

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