#559231#559231

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

Color values

HEX#559231
RGBrgb(85, 146, 49)
HSLhsl(98, 50%, 38%)
HSVhsv(98, 66%, 57%)
CMYKcmyk(41.8%, 0%, 66.4%, 42.7%)
CIE-LABlab(54.77, -37.40, 43.77)
CIE-LCHlch(54.77, 57.58, 130.51°)
OKLaboklab(59.75% -0.1038 0.1007)
OKLCHoklch(59.75% 0.145 135.9)
XYZxyz(14.5792, 22.7100, 6.5204)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#559231 #6E3192
analogous
#859231 #559231 #31923D
triadic
#559231 #315592 #923155
tetradic
#559231 #318592 #6E3192 #923D31
square
#559231 #318592 #6E3192 #923D31
split-complementary
#559231 #3D3192 #923185
monochromatic
#203612 #3A6422 #559231 #70BF41 #92CF6F

Accessibility & contrast

On white

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

On black

5.54
#559231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #559231
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##559231#FFFFFF#000000##000000
##5592311.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978625
Deuteranopia (green-blind)
#8F8139
Tritanopia (blue-blind)
#538D7E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #559231;
/* rgb */ color: rgb(85, 146, 49);
/* oklch */ color: oklch(59.8% 0.145 135.9);
Tailwind
colors: {
  custom: {
    50: '#8ab26e',
    500: '#559231',
    950: '#000000',
  },
}
SCSS
$custom: #559231;
$custom-light: #8ab26e;
$custom-dark: #000000;
JSON
{
  "hex": "#559231",
  "rgb": {
    "r": 85,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 97.732,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59751,
    "c": 0.14465,
    "h": 135.9
  },
  "luminance": 0.22711
}

Semantic roles & 50–950 ramp

primary
#559231
secondary
#9969B6
accent
#4FD9A6
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #559231

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

Preview Lab → · Contrast checker → · Palette generator →

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