#598222#598222

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

Color values

HEX#598222
RGBrgb(89, 130, 34)
HSLhsl(86, 59%, 32%)
HSVhsv(86, 74%, 51%)
CMYKcmyk(31.5%, 0%, 73.8%, 49%)
CIE-LABlab(49.74, -29.85, 44.85)
CIE-LCHlch(49.74, 53.88, 123.64°)
OKLaboklab(55.67% -0.0847 0.1008)
OKLCHoklch(55.67% 0.132 130.1)
XYZxyz(12.3911, 18.2042, 4.3740)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#598222 #4B2282
analogous
#827B22 #598222 #298222
triadic
#598222 #225982 #822259
tetradic
#598222 #22827B #4B2282 #822229
square
#598222 #22827B #4B2282 #822229
split-complementary
#598222 #222982 #7B2282
monochromatic
#172109 #385115 #598222 #7AB32F #99D14E

Accessibility & contrast

On white

4.52
#598222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##598222#FFFFFF#000000##000000
##5982221.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#83752B
Tritanopia (blue-blind)
#5B7C6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #598222;
/* rgb */ color: rgb(89, 130, 34);
/* oklch */ color: oklch(55.7% 0.132 130.1);
Tailwind
colors: {
  custom: {
    50: '#8ba664',
    500: '#598222',
    950: '#000000',
  },
}
SCSS
$custom: #598222;
$custom-light: #8ba664;
$custom-dark: #000000;
JSON
{
  "hex": "#598222",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 85.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55666,
    "c": 0.13169,
    "h": 130.1
  },
  "luminance": 0.18205
}

Semantic roles & 50–950 ramp

primary
#598222
secondary
#784CB4
accent
#46E289
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #598222

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

Preview Lab → · Contrast checker → · Palette generator →

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