#559228#559228

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

Color values

HEX#559228
RGBrgb(85, 146, 40)
HSLhsl(95, 57%, 36%)
HSVhsv(95, 73%, 57%)
CMYKcmyk(41.8%, 0%, 72.6%, 42.7%)
CIE-LABlab(54.70, -38.15, 47.44)
CIE-LCHlch(54.70, 60.88, 128.80°)
OKLaboklab(59.67% -0.1065 0.1072)
OKLCHoklch(59.67% 0.151 134.8)
XYZxyz(14.4079, 22.6415, 5.6181)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#559228 #652892
analogous
#8A9228 #559228 #289230
triadic
#559228 #285592 #922855
tetradic
#559228 #288A92 #652892 #923028
square
#559228 #288A92 #652892 #923028
split-complementary
#559228 #302892 #92288A
monochromatic
#1D320E #39621B #559228 #71C235 #92D461

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##559228#FFFFFF#000000##000000
##5592281.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)
#988616
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#548C7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #559228;
/* rgb */ color: rgb(85, 146, 40);
/* oklch */ color: oklch(59.7% 0.151 134.8);
Tailwind
colors: {
  custom: {
    50: '#8ab269',
    500: '#559228',
    950: '#000000',
  },
}
SCSS
$custom: #559228;
$custom-light: #8ab269;
$custom-dark: #000000;
JSON
{
  "hex": "#559228",
  "rgb": {
    "r": 85,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 94.528,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5967,
    "c": 0.15113,
    "h": 134.8
  },
  "luminance": 0.22642
}

Semantic roles & 50–950 ramp

primary
#559228
secondary
#925DB9
accent
#48E09F
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #559228

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

Preview Lab → · Contrast checker → · Palette generator →

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