#98BA32#98BA32

#98BA32 is a light, vivid yellow-green. Relative luminance 0.420; OKLCH L 73.9% C 0.162 H 122.8°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#98BA32
RGBrgb(152, 186, 50)
HSLhsl(75, 58%, 46%)
HSVhsv(75, 73%, 73%)
CMYKcmyk(18.3%, 0%, 73.1%, 27.1%)
CIE-LABlab(70.89, -30.03, 61.13)
CIE-LCHlch(70.89, 68.11, 116.16°)
OKLaboklab(73.88% -0.0878 0.136)
OKLCHoklch(73.88% 0.162 122.8)
XYZxyz(31.0839, 42.0234, 9.4907)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA32 #5432BA
analogous
#BA9832 #98BA32 #54BA32
triadic
#98BA32 #3298BA #BA3298
tetradic
#98BA32 #32BA98 #5432BA #BA3254
square
#98BA32 #32BA98 #5432BA #BA3254
split-complementary
#98BA32 #3254BA #9832BA
monochromatic
#495A18 #718A25 #98BA32 #B3D257 #C9DF88

Accessibility & contrast

On white

2.23
#98BA32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#98BA32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA32
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA32#FFFFFF#000000##000000
##98BA321.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE17
Deuteranopia (green-blind)
#C1AD3E
Tritanopia (blue-blind)
#A0B1A0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #98ba32;
/* rgb */ color: rgb(152, 186, 50);
/* oklch */ color: oklch(73.9% 0.162 122.8);
Tailwind
colors: {
  custom: {
    50: '#bace73',
    500: '#98ba32',
    950: '#000000',
  },
}
SCSS
$custom: #98ba32;
$custom-light: #bace73;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba32",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 50
  },
  "hsl": {
    "h": 75,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7388,
    "c": 0.16187,
    "h": 122.8
  },
  "luminance": 0.42024
}

Semantic roles & 50–950 ramp

primary
#98BA32
secondary
#927FC9
accent
#47E16D
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98BA32

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

Preview Lab → · Contrast checker → · Palette generator →

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