#98BF28#98BF28

#98BF28 is a light, vivid yellow-green. Relative luminance 0.441; OKLCH L 75.0% C 0.173 H 123.8°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#98BF28
RGBrgb(152, 191, 40)
HSLhsl(75, 65%, 45%)
HSVhsv(75, 79%, 75%)
CMYKcmyk(20.4%, 0%, 79.1%, 25.1%)
CIE-LABlab(72.29, -32.85, 65.64)
CIE-LCHlch(72.29, 73.40, 116.59°)
OKLaboklab(75% -0.0963 0.1439)
OKLCHoklch(75% 0.173 123.8)
XYZxyz(31.9631, 44.0900, 8.8334)
Luminance0.4409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BF28 #4F28BF
analogous
#BF9B28 #98BF28 #4CBF28
triadic
#98BF28 #2898BF #BF2898
tetradic
#98BF28 #28BF9B #4F28BF #BF284C
square
#98BF28 #28BF9B #4F28BF #BF284C
split-complementary
#98BF28 #284CBF #9B28BF
monochromatic
#475A13 #708C1D #98BF28 #B5D94B #C9E47E

Accessibility & contrast

On white

2.14
#98BF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#98BF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BF28
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BF28#FFFFFF#000000##000000
##98BF281.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#A0B5A3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #98bf28;
/* rgb */ color: rgb(152, 191, 40);
/* oklch */ color: oklch(75.0% 0.173 123.8);
Tailwind
colors: {
  custom: {
    50: '#bad26f',
    500: '#98bf28',
    950: '#000000',
  },
}
SCSS
$custom: #98bf28;
$custom-light: #bad26f;
$custom-dark: #000000;
JSON
{
  "hex": "#98bf28",
  "rgb": {
    "r": 152,
    "g": 191,
    "b": 40
  },
  "hsl": {
    "h": 75.497,
    "s": 65.368,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74996,
    "c": 0.17313,
    "h": 123.8
  },
  "luminance": 0.4409
}

Semantic roles & 50–950 ramp

primary
#98BF28
secondary
#8D77CC
accent
#3FE86B
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121408
muted
#81827B

Preview Lab

Preview with #98BF28

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

Preview Lab → · Contrast checker → · Palette generator →

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