#598221#598221

#598221 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.7% C 0.132 H 130.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#598221
RGBrgb(89, 130, 33)
HSLhsl(85, 60%, 32%)
HSVhsv(85, 75%, 51%)
CMYKcmyk(31.5%, 0%, 74.6%, 49%)
CIE-LABlab(49.74, -29.91, 45.23)
CIE-LCHlch(49.74, 54.23, 123.48°)
OKLaboklab(55.66% -0.085 0.1014)
OKLCHoklch(55.66% 0.132 130)
XYZxyz(12.3769, 18.1985, 4.2991)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#598221 #4A2182
analogous
#827B21 #598221 #298221
triadic
#598221 #215982 #822159
tetradic
#598221 #21827B #4A2182 #822129
square
#598221 #21827B #4A2182 #822129
split-complementary
#598221 #212982 #7B2182
monochromatic
#162008 #385115 #598221 #7AB32D #99D24C

Accessibility & contrast

On white

4.53
#598221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#598221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #598221
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##598221#FFFFFF#000000##000000
##5982211.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780F
Deuteranopia (green-blind)
#83752A
Tritanopia (blue-blind)
#5B7C6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #598221;
/* rgb */ color: rgb(89, 130, 33);
/* oklch */ color: oklch(55.7% 0.132 130.0);
Tailwind
colors: {
  custom: {
    50: '#8ca663',
    500: '#598221',
    950: '#000000',
  },
}
SCSS
$custom: #598221;
$custom-light: #8ca663;
$custom-dark: #000000;
JSON
{
  "hex": "#598221",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 85.361,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55659,
    "c": 0.13234,
    "h": 130
  },
  "luminance": 0.18199
}

Semantic roles & 50–950 ramp

primary
#598221
secondary
#774AB4
accent
#45E388
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #598221

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

Preview Lab → · Contrast checker → · Palette generator →

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