#598228#598228

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

Color values

HEX#598228
RGBrgb(89, 130, 40)
HSLhsl(87, 53%, 33%)
HSVhsv(87, 69%, 51%)
CMYKcmyk(31.5%, 0%, 69.2%, 49%)
CIE-LABlab(49.79, -29.40, 42.43)
CIE-LCHlch(49.79, 51.62, 124.72°)
OKLaboklab(55.72% -0.083 0.0966)
OKLCHoklch(55.72% 0.127 130.7)
XYZxyz(12.4854, 18.2419, 4.8703)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#598228 #512882
analogous
#827E28 #598228 #2C8228
triadic
#598228 #285982 #822859
tetradic
#598228 #28827E #512882 #82282C
square
#598228 #28827E #512882 #82282C
split-complementary
#598228 #282C82 #7E2882
monochromatic
#19240B #39531A #598228 #79B136 #97CC59

Accessibility & contrast

On white

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

On black

4.65
#598228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #598228
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##598228#FFFFFF#000000##000000
##5982281.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781B
Deuteranopia (green-blind)
#82752F
Tritanopia (blue-blind)
#5B7C70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #598228;
/* rgb */ color: rgb(89, 130, 40);
/* oklch */ color: oklch(55.7% 0.127 130.7);
Tailwind
colors: {
  custom: {
    50: '#8ba667',
    500: '#598228',
    950: '#000000',
  },
}
SCSS
$custom: #598228;
$custom-light: #8ba667;
$custom-dark: #000000;
JSON
{
  "hex": "#598228",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 87.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55718,
    "c": 0.12738,
    "h": 130.7
  },
  "luminance": 0.18242
}

Semantic roles & 50–950 ramp

primary
#598228
secondary
#7F55B1
accent
#4BDC8D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #598228

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

Preview Lab → · Contrast checker → · Palette generator →

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