#598128#598128

#598128 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.5% C 0.126 H 130.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#598128
RGBrgb(89, 129, 40)
HSLhsl(87, 53%, 33%)
HSVhsv(87, 69%, 51%)
CMYKcmyk(31%, 0%, 69%, 49.4%)
CIE-LABlab(49.47, -28.92, 42.10)
CIE-LCHlch(49.47, 51.07, 124.49°)
OKLaboklab(55.46% -0.0817 0.0959)
OKLCHoklch(55.46% 0.126 130.4)
XYZxyz(12.3530, 17.9772, 4.8262)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#598128 #502881
analogous
#817C28 #598128 #2C8128
triadic
#598128 #285981 #812859
tetradic
#598128 #28817C #502881 #81282C
square
#598128 #28817C #502881 #81282C
split-complementary
#598128 #282C81 #7C2881
monochromatic
#19240B #39521A #598128 #79B036 #98CB58

Accessibility & contrast

On white

4.57
#598128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#598128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #598128
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##598128#FFFFFF#000000##000000
##5981281.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781C
Deuteranopia (green-blind)
#81752F
Tritanopia (blue-blind)
#5B7B6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #598128;
/* rgb */ color: rgb(89, 129, 40);
/* oklch */ color: oklch(55.5% 0.126 130.4);
Tailwind
colors: {
  custom: {
    50: '#8ba667',
    500: '#598128',
    950: '#000000',
  },
}
SCSS
$custom: #598128;
$custom-light: #8ba667;
$custom-dark: #000000;
JSON
{
  "hex": "#598128",
  "rgb": {
    "r": 89,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 86.966,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55458,
    "c": 0.126,
    "h": 130.4
  },
  "luminance": 0.17978
}

Semantic roles & 50–950 ramp

primary
#598128
secondary
#7E54B0
accent
#4CDC8D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #598128

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

Preview Lab → · Contrast checker → · Palette generator →

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