#98B531#98B531

#98B531 is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.7% C 0.156 H 121.4°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#98B531
RGBrgb(152, 181, 49)
HSLhsl(73, 57%, 45%)
HSVhsv(73, 73%, 71%)
CMYKcmyk(16%, 0%, 72.9%, 29%)
CIE-LABlab(69.43, -27.70, 60.06)
CIE-LCHlch(69.43, 66.14, 114.76°)
OKLaboklab(72.7% -0.0814 0.1336)
OKLCHoklch(72.7% 0.156 121.4)
XYZxyz(30.0276, 39.9449, 9.0334)
Luminance0.3995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B531 #4E31B5
analogous
#B59031 #98B531 #56B531
triadic
#98B531 #3198B5 #B53198
tetradic
#98B531 #31B590 #4E31B5 #B53156
square
#98B531 #31B590 #4E31B5 #B53156
split-complementary
#98B531 #3156B5 #9031B5
monochromatic
#475517 #708524 #98B531 #B5D053 #CADD83

Accessibility & contrast

On white

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

On black

8.99
#98B531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B531
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B531#FFFFFF#000000##000000
##98B5311.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA18
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#A0AC9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #98b531;
/* rgb */ color: rgb(152, 181, 49);
/* oklch */ color: oklch(72.7% 0.156 121.4);
Tailwind
colors: {
  custom: {
    50: '#bacb72',
    500: '#98b531',
    950: '#000000',
  },
}
SCSS
$custom: #98b531;
$custom-light: #bacb72;
$custom-dark: #000000;
JSON
{
  "hex": "#98b531",
  "rgb": {
    "r": 152,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 73.182,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72702,
    "c": 0.15648,
    "h": 121.4
  },
  "luminance": 0.39945
}

Semantic roles & 50–950 ramp

primary
#98B531
secondary
#8C7BC7
accent
#47E169
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B531

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

Preview Lab → · Contrast checker → · Palette generator →

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