#98B732#98B732

#98B732 is a light, vivid yellow-green. Relative luminance 0.408; OKLCH L 73.2% C 0.158 H 122.0°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#98B732
RGBrgb(152, 183, 50)
HSLhsl(74, 57%, 46%)
HSVhsv(74, 73%, 72%)
CMYKcmyk(16.9%, 0%, 72.7%, 28.2%)
CIE-LABlab(70.02, -28.60, 60.28)
CIE-LCHlch(70.02, 66.72, 115.38°)
OKLaboklab(73.18% -0.0838 0.1342)
OKLCHoklch(73.18% 0.158 122)
XYZxyz(30.4585, 40.7726, 9.2823)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B732 #5132B7
analogous
#B79332 #98B732 #55B732
triadic
#98B732 #3298B7 #B73298
tetradic
#98B732 #32B793 #5132B7 #B73255
square
#98B732 #32B793 #5132B7 #B73255
split-complementary
#98B732 #3255B7 #9332B7
monochromatic
#485718 #708725 #98B732 #B4D156 #C9DE86

Accessibility & contrast

On white

2.29
#98B732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#98B732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B732
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B732#FFFFFF#000000##000000
##98B7321.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC19
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#A0AE9D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #98b732;
/* rgb */ color: rgb(152, 183, 50);
/* oklch */ color: oklch(73.2% 0.158 122.0);
Tailwind
colors: {
  custom: {
    50: '#bacc73',
    500: '#98b732',
    950: '#000000',
  },
}
SCSS
$custom: #98b732;
$custom-light: #bacc73;
$custom-dark: #000000;
JSON
{
  "hex": "#98b732",
  "rgb": {
    "r": 152,
    "g": 183,
    "b": 50
  },
  "hsl": {
    "h": 73.985,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73177,
    "c": 0.15827,
    "h": 122
  },
  "luminance": 0.40773
}

Semantic roles & 50–950 ramp

primary
#98B732
secondary
#8F7DC7
accent
#47E06B
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B732

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

Preview Lab → · Contrast checker → · Palette generator →

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