#98B339#98B339

#98B339 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 72.3% C 0.149 H 121.0°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#98B339
RGBrgb(152, 179, 57)
HSLhsl(73, 52%, 46%)
HSVhsv(73, 68%, 70%)
CMYKcmyk(15.1%, 0%, 68.2%, 29.8%)
CIE-LABlab(68.90, -26.26, 56.55)
CIE-LCHlch(68.90, 62.35, 114.91°)
OKLaboklab(72.29% -0.0767 0.1275)
OKLCHoklch(72.29% 0.149 121)
XYZxyz(29.8080, 39.2110, 9.8683)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B339 #5439B3
analogous
#B39139 #98B339 #5BB339
triadic
#98B339 #3998B3 #B33998
tetradic
#98B339 #39B391 #5439B3 #B3395B
square
#98B339 #39B391 #5439B3 #B3395B
split-complementary
#98B339 #395BB3 #9139B3
monochromatic
#49561B #71852A #98B339 #B3CC5E #C9DA8C

Accessibility & contrast

On white

2.37
#98B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#98B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B339
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B339#FFFFFF#000000##000000
##98B3391.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA927
Deuteranopia (green-blind)
#BBA842
Tritanopia (blue-blind)
#A0AA9B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b339;
/* rgb */ color: rgb(152, 179, 57);
/* oklch */ color: oklch(72.3% 0.149 121.0);
Tailwind
colors: {
  custom: {
    50: '#b9c976',
    500: '#98b339',
    950: '#000000',
  },
}
SCSS
$custom: #98b339;
$custom-light: #b9c976;
$custom-dark: #000000;
JSON
{
  "hex": "#98b339",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 73.279,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72294,
    "c": 0.14882,
    "h": 121
  },
  "luminance": 0.39211
}

Semantic roles & 50–950 ramp

primary
#98B339
secondary
#9283C5
accent
#4DDB6C
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B339

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

Preview Lab → · Contrast checker → · Palette generator →

#98B339 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva