#98BB3B#98BB3B

#98BB3B is a light, vivid yellow-green. Relative luminance 0.425; OKLCH L 74.2% C 0.157 H 123.5°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#98BB3B
RGBrgb(152, 187, 59)
HSLhsl(76, 52%, 48%)
HSVhsv(76, 68%, 73%)
CMYKcmyk(18.7%, 0%, 68.4%, 26.7%)
CIE-LABlab(71.24, -29.97, 58.15)
CIE-LCHlch(71.24, 65.42, 117.27°)
OKLaboklab(74.18% -0.0868 0.1312)
OKLCHoklch(74.18% 0.157 123.5)
XYZxyz(31.5089, 42.5316, 10.6863)
Luminance0.4253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BB3B #5E3BBB
analogous
#BB9E3B #98BB3B #58BB3B
triadic
#98BB3B #3B98BB #BB3B98
tetradic
#98BB3B #3BBB9E #5E3BBB #BB3B58
square
#98BB3B #3BBB9E #5E3BBB #BB3B58
split-complementary
#98BB3B #3B58BB #9E3BBB
monochromatic
#4C5E1E #728C2C #98BB3B #B2CE65 #C9DD93

Accessibility & contrast

On white

2.21
#98BB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#98BB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BB3B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BB3B#FFFFFF#000000##000000
##98BB3B1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF28
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#9FB2A1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98bb3b;
/* rgb */ color: rgb(152, 187, 59);
/* oklch */ color: oklch(74.2% 0.157 123.5);
Tailwind
colors: {
  custom: {
    50: '#b9cf78',
    500: '#98bb3b',
    950: '#000000',
  },
}
SCSS
$custom: #98bb3b;
$custom-light: #b9cf78;
$custom-dark: #000000;
JSON
{
  "hex": "#98bb3b",
  "rgb": {
    "r": 152,
    "g": 187,
    "b": 59
  },
  "hsl": {
    "h": 76.406,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7418,
    "c": 0.15731,
    "h": 123.5
  },
  "luminance": 0.42532
}

Semantic roles & 50–950 ramp

primary
#98BB3B
secondary
#9B8AC8
accent
#4CDB73
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#121309
muted
#81827B

Preview Lab

Preview with #98BB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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