#98BD28#98BD28

#98BD28 is a light, vivid yellow-green. Relative luminance 0.432; OKLCH L 74.5% C 0.171 H 123.3°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#98BD28
RGBrgb(152, 189, 40)
HSLhsl(75, 65%, 45%)
HSVhsv(75, 79%, 74%)
CMYKcmyk(19.6%, 0%, 78.8%, 25.9%)
CIE-LABlab(71.71, -31.92, 65.11)
CIE-LCHlch(71.71, 72.52, 116.12°)
OKLaboklab(74.52% -0.0937 0.1428)
OKLCHoklch(74.52% 0.171 123.3)
XYZxyz(31.5299, 43.2236, 8.6890)
Luminance0.4322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BD28 #4D28BD
analogous
#BD9728 #98BD28 #4EBD28
triadic
#98BD28 #2898BD #BD2898
tetradic
#98BD28 #28BD97 #4D28BD #BD284E
square
#98BD28 #28BD97 #4D28BD #BD284E
split-complementary
#98BD28 #284EBD #9728BD
monochromatic
#475813 #6F8A1D #98BD28 #B5D94A #CAE37C

Accessibility & contrast

On white

2.18
#98BD28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#98BD28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BD28
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BD28#FFFFFF#000000##000000
##98BD281.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#A0B3A2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #98bd28;
/* rgb */ color: rgb(152, 189, 40);
/* oklch */ color: oklch(74.5% 0.171 123.3);
Tailwind
colors: {
  custom: {
    50: '#bad16f',
    500: '#98bd28',
    950: '#000000',
  },
}
SCSS
$custom: #98bd28;
$custom-light: #bad16f;
$custom-dark: #000000;
JSON
{
  "hex": "#98bd28",
  "rgb": {
    "r": 152,
    "g": 189,
    "b": 40
  },
  "hsl": {
    "h": 74.899,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74525,
    "c": 0.17079,
    "h": 123.3
  },
  "luminance": 0.43224
}

Semantic roles & 50–950 ramp

primary
#98BD28
secondary
#8B75CB
accent
#40E86A
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121408
muted
#81827B

Preview Lab

Preview with #98BD28

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

Preview Lab → · Contrast checker → · Palette generator →

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