#98BB42#98BB42

#98BB42 is a light, vivid yellow-green. Relative luminance 0.426; OKLCH L 74.2% C 0.152 H 123.9°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#98BB42
RGBrgb(152, 187, 66)
HSLhsl(77, 48%, 50%)
HSVhsv(77, 65%, 73%)
CMYKcmyk(18.7%, 0%, 64.7%, 26.7%)
CIE-LABlab(71.29, -29.49, 55.39)
CIE-LCHlch(71.29, 62.76, 118.03°)
OKLaboklab(74.24% -0.0848 0.1264)
OKLCHoklch(74.24% 0.152 123.9)
XYZxyz(31.7028, 42.6092, 11.7074)
Luminance0.4261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BB42 #6542BB
analogous
#BBA142 #98BB42 #5CBB42
triadic
#98BB42 #4298BB #BB4298
tetradic
#98BB42 #42BBA1 #6542BB #BB425C
square
#98BB42 #42BBA1 #6542BB #BB425C
split-complementary
#98BB42 #425CBB #A142BB
monochromatic
#4E6122 #738E32 #98BB42 #B1CC6E #C9DC9C

Accessibility & contrast

On white

2.21
#98BB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#98BB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BB42
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BB42#FFFFFF#000000##000000
##98BB421.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B032
Deuteranopia (green-blind)
#C1AE4B
Tritanopia (blue-blind)
#9FB2A2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #98bb42;
/* rgb */ color: rgb(152, 187, 66);
/* oklch */ color: oklch(74.2% 0.152 123.9);
Tailwind
colors: {
  custom: {
    50: '#b9cf7c',
    500: '#98bb42',
    950: '#000000',
  },
}
SCSS
$custom: #98bb42;
$custom-light: #b9cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#98bb42",
  "rgb": {
    "r": 152,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 77.355,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7424,
    "c": 0.15221,
    "h": 123.9
  },
  "luminance": 0.42609
}

Semantic roles & 50–950 ramp

primary
#98BB42
secondary
#A191C8
accent
#50D777
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #98BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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