#598822#598822

#598822 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.2% C 0.140 H 131.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#598822
RGBrgb(89, 136, 34)
HSLhsl(88, 60%, 33%)
HSVhsv(88, 75%, 53%)
CMYKcmyk(34.6%, 0%, 75%, 46.7%)
CIE-LABlab(51.66, -32.64, 46.77)
CIE-LCHlch(51.66, 57.03, 124.92°)
OKLaboklab(57.23% -0.0923 0.1048)
OKLCHoklch(57.23% 0.14 131.4)
XYZxyz(13.2126, 19.8472, 4.6478)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#598822 #512288
analogous
#888422 #598822 #268822
triadic
#598822 #225988 #882259
tetradic
#598822 #228884 #512288 #882226
square
#598822 #228884 #512288 #882226
split-complementary
#598822 #222688 #842288
monochromatic
#19260A #395716 #598822 #79B92E #97D351

Accessibility & contrast

On white

4.23
#598822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#598822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #598822
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##598822#FFFFFF#000000##000000
##5988221.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0F
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#5B8274
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #598822;
/* rgb */ color: rgb(89, 136, 34);
/* oklch */ color: oklch(57.2% 0.140 131.4);
Tailwind
colors: {
  custom: {
    50: '#8cab65',
    500: '#598822',
    950: '#000000',
  },
}
SCSS
$custom: #598822;
$custom-light: #8cab65;
$custom-dark: #000000;
JSON
{
  "hex": "#598822",
  "rgb": {
    "r": 89,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 87.647,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57231,
    "c": 0.13968,
    "h": 131.4
  },
  "luminance": 0.19848
}

Semantic roles & 50–950 ramp

primary
#598822
secondary
#7F4FB7
accent
#45E38E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #598822

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

Preview Lab → · Contrast checker → · Palette generator →

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