#98B525#98B525

#98B525 is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.6% C 0.163 H 121.0°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#98B525
RGBrgb(152, 181, 37)
HSLhsl(72, 66%, 43%)
HSVhsv(72, 80%, 71%)
CMYKcmyk(16%, 0%, 79.6%, 29%)
CIE-LABlab(69.37, -28.26, 63.86)
CIE-LCHlch(69.37, 69.84, 113.87°)
OKLaboklab(72.63% -0.0839 0.1396)
OKLCHoklch(72.63% 0.163 121)
XYZxyz(29.8072, 39.8568, 7.8727)
Luminance0.3986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B525 #4225B5
analogous
#B58A25 #98B525 #50B525
triadic
#98B525 #2598B5 #B52598
tetradic
#98B525 #25B58A #4225B5 #B52550
square
#98B525 #25B58A #4225B5 #B52550
split-complementary
#98B525 #2550B5 #8A25B5
monochromatic
#434F10 #6D821B #98B525 #B9D83F #CCE272

Accessibility & contrast

On white

2.34
#98B525 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#98B525 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B525
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B525#FFFFFF#000000##000000
##98B5251.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BDAA34
Tritanopia (blue-blind)
#A1AB9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98b525;
/* rgb */ color: rgb(152, 181, 37);
/* oklch */ color: oklch(72.6% 0.163 121.0);
Tailwind
colors: {
  custom: {
    50: '#bacb6d',
    500: '#98b525',
    950: '#000000',
  },
}
SCSS
$custom: #98b525;
$custom-light: #bacb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#98b525",
  "rgb": {
    "r": 152,
    "g": 181,
    "b": 37
  },
  "hsl": {
    "h": 72.083,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72631,
    "c": 0.16291,
    "h": 121
  },
  "luminance": 0.39857
}

Semantic roles & 50–950 ramp

primary
#98B525
secondary
#7F6DC9
accent
#3FE961
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #98B525

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

Preview Lab → · Contrast checker → · Palette generator →

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