#578117#578117

#578117 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#578117
RGBrgb(87, 129, 23)
HSLhsl(84, 70%, 30%)
HSVhsv(84, 82%, 51%)
CMYKcmyk(32.6%, 0%, 82.2%, 49.4%)
CIE-LABlab(49.24, -30.82, 48.20)
CIE-LCHlch(49.24, 57.21, 122.59°)
OKLaboklab(55.2% -0.0881 0.1061)
OKLCHoklch(55.2% 0.138 129.7)
XYZxyz(11.9354, 17.7882, 3.6151)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578117 #411781
analogous
#817617 #578117 #228117
triadic
#578117 #175781 #811757
tetradic
#578117 #178176 #411781 #811722
square
#578117 #178176 #411781 #811722
split-complementary
#578117 #172281 #761781
monochromatic
#121A05 #344D0E #578117 #7AB520 #9ADB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##578117#FFFFFF#000000##FFFFFF
##5781171.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: #578117;
/* rgb */ color: rgb(87, 129, 23);
/* oklch */ color: oklch(55.2% 0.138 129.7);
Tailwind
colors: {
  custom: {
    50: '#8ba65e',
    500: '#578117',
    950: '#000000',
  },
}
SCSS
$custom: #578117;
$custom-light: #8ba65e;
$custom-dark: #000000;
JSON
{
  "hex": "#578117",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 83.774,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55203,
    "c": 0.13788,
    "h": 129.7
  },
  "luminance": 0.17789
}

Semantic roles & 50–950 ramp

primary
#578117
secondary
#6E3EB5
accent
#3BED82
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #578117

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

Preview Lab → · Contrast checker → · Palette generator →

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