#98C73B#98C73B

#98C73B is a light, vivid yellow-green. Relative luminance 0.478; OKLCH L 77.0% C 0.172 H 126.4°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#98C73B
RGBrgb(152, 199, 59)
HSLhsl(80, 56%, 51%)
HSVhsv(80, 70%, 78%)
CMYKcmyk(23.6%, 0%, 70.4%, 22%)
CIE-LABlab(74.72, -35.55, 61.69)
CIE-LCHlch(74.72, 71.19, 119.95°)
OKLaboklab(77% -0.1021 0.1386)
OKLCHoklch(77% 0.172 126.4)
XYZxyz(34.1619, 47.8375, 11.5706)
Luminance0.4784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C73B #6A3BC7
analogous
#C7B03B #98C73B #52C73B
triadic
#98C73B #3B98C7 #C73B98
tetradic
#98C73B #3BC7B0 #6A3BC7 #C73B52
square
#98C73B #3BC7B0 #6A3BC7 #C73B52
split-complementary
#98C73B #3B52C7 #B03BC7
monochromatic
#50691E #74992C #98C73B #B1D56B #CAE29A

Accessibility & contrast

On white

1.99
#98C73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#98C73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C73B
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C73B#FFFFFF#000000##000000
##98C73B1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA24
Deuteranopia (green-blind)
#CBB747
Tritanopia (blue-blind)
#9EBEAB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #98c73b;
/* rgb */ color: rgb(152, 199, 59);
/* oklch */ color: oklch(77.0% 0.172 126.4);
Tailwind
colors: {
  custom: {
    50: '#bad879',
    500: '#98c73b',
    950: '#000000',
  },
}
SCSS
$custom: #98c73b;
$custom-light: #bad879;
$custom-dark: #000000;
JSON
{
  "hex": "#98c73b",
  "rgb": {
    "r": 152,
    "g": 199,
    "b": 59
  },
  "hsl": {
    "h": 80.143,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77001,
    "c": 0.17217,
    "h": 126.4
  },
  "luminance": 0.47838
}

Semantic roles & 50–950 ramp

primary
#98C73B
secondary
#A590CE
accent
#49DF7B
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #98C73B

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

Preview Lab → · Contrast checker → · Palette generator →

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