#98BB2B#98BB2B

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

Color values

HEX#98BB2B
RGBrgb(152, 187, 43)
HSLhsl(75, 63%, 45%)
HSVhsv(75, 77%, 73%)
CMYKcmyk(18.7%, 0%, 77%, 26.7%)
CIE-LABlab(71.14, -30.85, 63.68)
CIE-LCHlch(71.14, 70.76, 115.85°)
OKLaboklab(74.07% -0.0906 0.1403)
OKLCHoklch(74.07% 0.167 122.9)
XYZxyz(31.1557, 42.3903, 8.8258)
Luminance0.4239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BB2B #4E2BBB
analogous
#BB962B #98BB2B #50BB2B
triadic
#98BB2B #2B98BB #BB2B98
tetradic
#98BB2B #2BBB96 #4E2BBB #BB2B50
square
#98BB2B #2BBB96 #4E2BBB #BB2B50
split-complementary
#98BB2B #2B50BB #962BBB
monochromatic
#475714 #708920 #98BB2B #B5D64D #CAE27F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98BB2B#FFFFFF#000000##000000
##98BB2B1.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)
#C6AF01
Deuteranopia (green-blind)
#C2AE39
Tritanopia (blue-blind)
#A0B1A0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98bb2b;
/* rgb */ color: rgb(152, 187, 43);
/* oklch */ color: oklch(74.1% 0.167 122.9);
Tailwind
colors: {
  custom: {
    50: '#bacf70',
    500: '#98bb2b',
    950: '#000000',
  },
}
SCSS
$custom: #98bb2b;
$custom-light: #bacf70;
$custom-dark: #000000;
JSON
{
  "hex": "#98bb2b",
  "rgb": {
    "r": 152,
    "g": 187,
    "b": 43
  },
  "hsl": {
    "h": 74.583,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74071,
    "c": 0.16697,
    "h": 122.9
  },
  "luminance": 0.4239
}

Semantic roles & 50–950 ramp

primary
#98BB2B
secondary
#8C78CA
accent
#42E66A
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98BB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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