#578121#578121

#578121 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.3% C 0.132 H 130.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#578121
RGBrgb(87, 129, 33)
HSLhsl(86, 59%, 32%)
HSVhsv(86, 74%, 51%)
CMYKcmyk(32.6%, 0%, 74.4%, 49.4%)
CIE-LABlab(49.30, -30.24, 44.76)
CIE-LCHlch(49.30, 54.01, 124.04°)
OKLaboklab(55.27% -0.0858 0.1005)
OKLCHoklch(55.27% 0.132 130.5)
XYZxyz(12.0552, 17.8362, 4.2461)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#578121 #4B2181
analogous
#817B21 #578121 #278121
triadic
#578121 #215781 #812157
tetradic
#578121 #21817B #4B2181 #812127
square
#578121 #21817B #4B2181 #812127
split-complementary
#578121 #212781 #7B2181
monochromatic
#152008 #365015 #578121 #78B22D #97D14B

Accessibility & contrast

On white

4.60
#578121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#578121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #578121
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##578121#FFFFFF#000000##FFFFFF
##5781211.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877710
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#597B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #578121;
/* rgb */ color: rgb(87, 129, 33);
/* oklch */ color: oklch(55.3% 0.132 130.5);
Tailwind
colors: {
  custom: {
    50: '#8aa663',
    500: '#578121',
    950: '#000000',
  },
}
SCSS
$custom: #578121;
$custom-light: #8aa663;
$custom-dark: #000000;
JSON
{
  "hex": "#578121",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 86.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5527,
    "c": 0.1321,
    "h": 130.5
  },
  "luminance": 0.17837
}

Semantic roles & 50–950 ramp

primary
#578121
secondary
#784AB4
accent
#45E28A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #578121

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

Preview Lab → · Contrast checker → · Palette generator →

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