#98BA28#98BA28

#98BA28 is a light, vivid yellow-green. Relative luminance 0.419; OKLCH L 73.8% C 0.167 H 122.5°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#98BA28
RGBrgb(152, 186, 40)
HSLhsl(74, 65%, 44%)
HSVhsv(74, 78%, 73%)
CMYKcmyk(18.3%, 0%, 78.5%, 27.1%)
CIE-LABlab(70.83, -30.51, 64.32)
CIE-LCHlch(70.83, 71.19, 115.38°)
OKLaboklab(73.82% -0.0899 0.1411)
OKLCHoklch(73.82% 0.167 122.5)
XYZxyz(30.8913, 41.9463, 8.4761)
Luminance0.4195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA28 #4A28BA
analogous
#BA9328 #98BA28 #4FBA28
triadic
#98BA28 #2898BA #BA2898
tetradic
#98BA28 #28BA93 #4A28BA #BA284F
square
#98BA28 #28BA93 #4A28BA #BA284F
split-complementary
#98BA28 #284FBA #9328BA
monochromatic
#465512 #6F881D #98BA28 #B6D848 #CAE27A

Accessibility & contrast

On white

2.24
#98BA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#98BA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA28
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA28#FFFFFF#000000##000000
##98BA281.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C1AD37
Tritanopia (blue-blind)
#A0B09F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #98ba28;
/* rgb */ color: rgb(152, 186, 40);
/* oklch */ color: oklch(73.8% 0.167 122.5);
Tailwind
colors: {
  custom: {
    50: '#bace6f',
    500: '#98ba28',
    950: '#000000',
  },
}
SCSS
$custom: #98ba28;
$custom-light: #bace6f;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba28",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 40
  },
  "hsl": {
    "h": 73.973,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7382,
    "c": 0.16728,
    "h": 122.5
  },
  "luminance": 0.41946
}

Semantic roles & 50–950 ramp

primary
#98BA28
secondary
#8873CA
accent
#40E867
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98BA28

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

Preview Lab → · Contrast checker → · Palette generator →

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