#579227#579227

#579227 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 59.8% C 0.151 H 134.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#579227
RGBrgb(87, 146, 39)
HSLhsl(93, 58%, 36%)
HSVhsv(93, 73%, 57%)
CMYKcmyk(40.4%, 0%, 73.3%, 42.7%)
CIE-LABlab(54.79, -37.52, 47.95)
CIE-LCHlch(54.79, 60.88, 128.04°)
OKLaboklab(59.77% -0.105 0.1081)
OKLCHoklch(59.77% 0.151 134.2)
XYZxyz(14.5753, 22.7298, 5.5384)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#579227 #622792
analogous
#8D9227 #579227 #27922D
triadic
#579227 #275792 #922757
tetradic
#579227 #278D92 #622792 #922D27
square
#579227 #278D92 #622792 #922D27
split-complementary
#579227 #2D2792 #92278D
monochromatic
#1D310D #3A621A #579227 #74C234 #94D45F

Accessibility & contrast

On white

3.79
#579227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#579227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #579227
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##579227#FFFFFF#000000##000000
##5792271.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988614
Deuteranopia (green-blind)
#908131
Tritanopia (blue-blind)
#568C7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #579227;
/* rgb */ color: rgb(87, 146, 39);
/* oklch */ color: oklch(59.8% 0.151 134.2);
Tailwind
colors: {
  custom: {
    50: '#8bb268',
    500: '#579227',
    950: '#000000',
  },
}
SCSS
$custom: #579227;
$custom-light: #8bb268;
$custom-dark: #000000;
JSON
{
  "hex": "#579227",
  "rgb": {
    "r": 87,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 93.084,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59769,
    "c": 0.15072,
    "h": 134.2
  },
  "luminance": 0.2273
}

Semantic roles & 50–950 ramp

primary
#579227
secondary
#8F5BBA
accent
#47E19C
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #579227

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

Preview Lab → · Contrast checker → · Palette generator →

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