#98BA38#98BA38

#98BA38 is a light, vivid yellow-green. Relative luminance 0.421; OKLCH L 73.9% C 0.158 H 123.1°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#98BA38
RGBrgb(152, 186, 56)
HSLhsl(76, 54%, 47%)
HSVhsv(76, 70%, 73%)
CMYKcmyk(18.3%, 0%, 69.9%, 27.1%)
CIE-LABlab(70.93, -29.68, 58.99)
CIE-LCHlch(70.93, 66.03, 116.71°)
OKLaboklab(73.92% -0.0863 0.1325)
OKLCHoklch(73.92% 0.158 123.1)
XYZxyz(31.2220, 42.0786, 10.2177)
Luminance0.4208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA38 #5A38BA
analogous
#BA9B38 #98BA38 #57BA38
triadic
#98BA38 #3898BA #BA3898
tetradic
#98BA38 #38BA9B #5A38BA #BA3857
square
#98BA38 #38BA9B #5A38BA #BA3857
split-complementary
#98BA38 #3857BA #9B38BA
monochromatic
#4B5C1C #728B2A #98BA38 #B2CF60 #C9DD8F

Accessibility & contrast

On white

2.23
#98BA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#98BA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA38
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA38#FFFFFF#000000##000000
##98BA381.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE23
Deuteranopia (green-blind)
#C0AD43
Tritanopia (blue-blind)
#A0B1A0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98ba38;
/* rgb */ color: rgb(152, 186, 56);
/* oklch */ color: oklch(73.9% 0.158 123.1);
Tailwind
colors: {
  custom: {
    50: '#bace77',
    500: '#98ba38',
    950: '#000000',
  },
}
SCSS
$custom: #98ba38;
$custom-light: #bace77;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba38",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 75.692,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73923,
    "c": 0.1581,
    "h": 123.1
  },
  "luminance": 0.42079
}

Semantic roles & 50–950 ramp

primary
#98BA38
secondary
#9786C8
accent
#4BDD71
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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