#587229#587229

#587229 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.5% C 0.104 H 126.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#587229
RGBrgb(88, 114, 41)
HSLhsl(81, 47%, 30%)
HSVhsv(81, 64%, 45%)
CMYKcmyk(22.8%, 0%, 64%, 55.3%)
CIE-LABlab(44.62, -21.81, 36.40)
CIE-LCHlch(44.62, 42.43, 120.93°)
OKLaboklab(51.51% -0.062 0.084)
OKLCHoklch(51.51% 0.104 126.4)
XYZxyz(10.4421, 14.2693, 4.3015)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#587229 #432972
analogous
#726729 #587229 #337229
triadic
#587229 #295872 #722958
tetradic
#587229 #297267 #432972 #722933
square
#587229 #297267 #432972 #722933
split-complementary
#587229 #293372 #672972
monochromatic
#131809 #354519 #587229 #7B9F39 #9AC154

Accessibility & contrast

On white

5.45
#587229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#587229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #587229
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##587229#FFFFFF#000000##FFFFFF
##5872291.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B21
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#5B6D63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #587229;
/* rgb */ color: rgb(88, 114, 41);
/* oklch */ color: oklch(51.5% 0.104 126.4);
Tailwind
colors: {
  custom: {
    50: '#899a66',
    500: '#587229',
    950: '#000000',
  },
}
SCSS
$custom: #587229;
$custom-light: #899a66;
$custom-dark: #000000;
JSON
{
  "hex": "#587229",
  "rgb": {
    "r": 88,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 81.37,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.1044,
    "h": 126.4
  },
  "luminance": 0.14269
}

Semantic roles & 50–950 ramp

primary
#587229
secondary
#7053A4
accent
#51D781
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #587229

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

Preview Lab → · Contrast checker → · Palette generator →

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