#98BA52#98BA52

#98BA52 is a light, vivid yellow-green. Relative luminance 0.424; OKLCH L 74.2% C 0.137 H 124.8°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#98BA52
RGBrgb(152, 186, 82)
HSLhsl(80, 43%, 53%)
HSVhsv(80, 56%, 73%)
CMYKcmyk(18.3%, 0%, 55.9%, 27.1%)
CIE-LABlab(71.15, -27.69, 48.17)
CIE-LCHlch(71.15, 55.56, 119.89°)
OKLaboklab(74.17% -0.0784 0.1129)
OKLCHoklch(74.17% 0.137 124.8)
XYZxyz(32.0309, 42.4021, 14.4779)
Luminance0.4240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA52 #7452BA
analogous
#BAA852 #98BA52 #64BA52
triadic
#98BA52 #5298BA #BA5298
tetradic
#98BA52 #52BAA8 #7452BA #BA5264
square
#98BA52 #52BAA8 #7452BA #BA5264
split-complementary
#98BA52 #5264BA #A852BA
monochromatic
#54682A #77943B #98BA52 #B2CB7E #CCDDAA

Accessibility & contrast

On white

2.22
#98BA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#98BA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA52
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA52#FFFFFF#000000##000000
##98BA521.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF48
Deuteranopia (green-blind)
#BFAE59
Tritanopia (blue-blind)
#9EB2A3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98ba52;
/* rgb */ color: rgb(152, 186, 82);
/* oklch */ color: oklch(74.2% 0.137 124.8);
Tailwind
colors: {
  custom: {
    50: '#b8ce86',
    500: '#98ba52',
    950: '#000000',
  },
}
SCSS
$custom: #98ba52;
$custom-light: #b8ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba52",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 79.615,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74173,
    "c": 0.13741,
    "h": 124.8
  },
  "luminance": 0.42402
}

Semantic roles & 50–950 ramp

primary
#98BA52
secondary
#AC9DCA
accent
#55D37E
background
#FBFCF8
surface
#F6F9F0
border
#D0D2CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #98BA52

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

Preview Lab → · Contrast checker → · Palette generator →

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