#578116#578116

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

Color values

HEX#578116
RGBrgb(87, 129, 22)
HSLhsl(84, 71%, 30%)
HSVhsv(84, 83%, 51%)
CMYKcmyk(32.6%, 0%, 82.9%, 49.4%)
CIE-LABlab(49.23, -30.87, 48.50)
CIE-LCHlch(49.23, 57.49, 122.47°)
OKLaboklab(55.2% -0.0883 0.1065)
OKLCHoklch(55.2% 0.138 129.7)
XYZxyz(11.9255, 17.7843, 3.5633)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578116 #401681
analogous
#817516 #578116 #228116
triadic
#578116 #165781 #811657
tetradic
#578116 #168175 #401681 #811622
square
#578116 #168175 #401681 #811622
split-complementary
#578116 #162281 #751681
monochromatic
#121A04 #344D0D #578116 #7AB51F #9BDD35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##578116#FFFFFF#000000##FFFFFF
##5781161.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)
#827422
Tritanopia (blue-blind)
#5A7B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #578116;
/* rgb */ color: rgb(87, 129, 22);
/* oklch */ color: oklch(55.2% 0.138 129.7);
Tailwind
colors: {
  custom: {
    50: '#8ba65e',
    500: '#578116',
    950: '#000000',
  },
}
SCSS
$custom: #578116;
$custom-light: #8ba65e;
$custom-dark: #000000;
JSON
{
  "hex": "#578116",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 83.551,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55198,
    "c": 0.13835,
    "h": 129.7
  },
  "luminance": 0.17785
}

Semantic roles & 50–950 ramp

primary
#578116
secondary
#6C3DB6
accent
#3AEE81
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #578116

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

Preview Lab → · Contrast checker → · Palette generator →

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