#559227#559227

#559227 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.7% C 0.152 H 134.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#559227
RGBrgb(85, 146, 39)
HSLhsl(94, 58%, 36%)
HSVhsv(94, 73%, 57%)
CMYKcmyk(41.8%, 0%, 73.3%, 42.7%)
CIE-LABlab(54.69, -38.22, 47.82)
CIE-LCHlch(54.69, 61.22, 128.63°)
OKLaboklab(59.66% -0.1068 0.1078)
OKLCHoklch(59.66% 0.152 134.7)
XYZxyz(14.3911, 22.6348, 5.5297)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#559227 #642792
analogous
#8B9227 #559227 #27922F
triadic
#559227 #275592 #922755
tetradic
#559227 #278B92 #642792 #922F27
square
#559227 #278B92 #642792 #922F27
split-complementary
#559227 #2F2792 #92278B
monochromatic
#1D310D #39621A #559227 #71C234 #91D45F

Accessibility & contrast

On white

3.80
#559227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#559227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #559227
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##559227#FFFFFF#000000##000000
##5592271.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988614
Deuteranopia (green-blind)
#8F8131
Tritanopia (blue-blind)
#548C7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #559227;
/* rgb */ color: rgb(85, 146, 39);
/* oklch */ color: oklch(59.7% 0.152 134.7);
Tailwind
colors: {
  custom: {
    50: '#8ab268',
    500: '#559227',
    950: '#000000',
  },
}
SCSS
$custom: #559227;
$custom-light: #8ab268;
$custom-dark: #000000;
JSON
{
  "hex": "#559227",
  "rgb": {
    "r": 85,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 94.206,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59662,
    "c": 0.15179,
    "h": 134.7
  },
  "luminance": 0.22636
}

Semantic roles & 50–950 ramp

primary
#559227
secondary
#915BBA
accent
#47E19F
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #559227

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

Preview Lab → · Contrast checker → · Palette generator →

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