#98B428#98B428

#98B428 is a light, vivid yellow-green. Relative luminance 0.395; OKLCH L 72.4% C 0.160 H 120.8°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#98B428
RGBrgb(152, 180, 40)
HSLhsl(72, 64%, 43%)
HSVhsv(72, 78%, 71%)
CMYKcmyk(15.6%, 0%, 77.8%, 29.4%)
CIE-LABlab(69.09, -27.66, 62.72)
CIE-LCHlch(69.09, 68.55, 113.79°)
OKLaboklab(72.41% -0.082 0.1377)
OKLCHoklch(72.41% 0.16 120.8)
XYZxyz(29.6537, 39.4712, 8.0636)
Luminance0.3947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B428 #4428B4
analogous
#B48A28 #98B428 #52B428
triadic
#98B428 #2898B4 #B42898
tetradic
#98B428 #28B48A #4428B4 #B42852
square
#98B428 #28B48A #4428B4 #B42852
split-complementary
#98B428 #2852B4 #8A28B4
monochromatic
#435012 #6E821D #98B428 #B8D544 #CBE176

Accessibility & contrast

On white

2.36
#98B428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#98B428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B428
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B428#FFFFFF#000000##000000
##98B4281.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#A1AA9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98b428;
/* rgb */ color: rgb(152, 180, 40);
/* oklch */ color: oklch(72.4% 0.160 120.8);
Tailwind
colors: {
  custom: {
    50: '#baca6e',
    500: '#98b428',
    950: '#000000',
  },
}
SCSS
$custom: #98b428;
$custom-light: #baca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#98b428",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 72,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72413,
    "c": 0.16031,
    "h": 120.8
  },
  "luminance": 0.39471
}

Semantic roles & 50–950 ramp

primary
#98B428
secondary
#8170C8
accent
#41E762
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B428

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

Preview Lab → · Contrast checker → · Palette generator →

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