#98BB40#98BB40

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

Color values

HEX#98BB40
RGBrgb(152, 187, 64)
HSLhsl(77, 49%, 49%)
HSVhsv(77, 66%, 73%)
CMYKcmyk(18.7%, 0%, 65.8%, 26.7%)
CIE-LABlab(71.27, -29.63, 56.20)
CIE-LCHlch(71.27, 63.53, 117.80°)
OKLaboklab(74.22% -0.0854 0.1278)
OKLCHoklch(74.22% 0.154 123.8)
XYZxyz(31.6449, 42.5860, 11.4023)
Luminance0.4259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BB40 #6340BB
analogous
#BBA140 #98BB40 #5BBB40
triadic
#98BB40 #4098BB #BB4098
tetradic
#98BB40 #40BBA1 #6340BB #BB405B
square
#98BB40 #40BBA1 #6340BB #BB405B
split-complementary
#98BB40 #405BBB #A140BB
monochromatic
#4E6021 #738D30 #98BB40 #B1CD6C #C9DC99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98BB40#FFFFFF#000000##000000
##98BB401.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)
#C5B02F
Deuteranopia (green-blind)
#C1AE49
Tritanopia (blue-blind)
#9FB2A2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98bb40;
/* rgb */ color: rgb(152, 187, 64);
/* oklch */ color: oklch(74.2% 0.154 123.8);
Tailwind
colors: {
  custom: {
    50: '#b9cf7b',
    500: '#98bb40',
    950: '#000000',
  },
}
SCSS
$custom: #98bb40;
$custom-light: #b9cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#98bb40",
  "rgb": {
    "r": 152,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 77.073,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74222,
    "c": 0.15372,
    "h": 123.8
  },
  "luminance": 0.42586
}

Semantic roles & 50–950 ramp

primary
#98BB40
secondary
#9F8FC8
accent
#4FD976
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #98BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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