#98BA30#98BA30

#98BA30 is a light, vivid yellow-green. Relative luminance 0.420; OKLCH L 73.9% C 0.163 H 122.8°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#98BA30
RGBrgb(152, 186, 48)
HSLhsl(75, 59%, 46%)
HSVhsv(75, 74%, 73%)
CMYKcmyk(18.3%, 0%, 74.2%, 27.1%)
CIE-LABlab(70.88, -30.13, 61.81)
CIE-LCHlch(70.88, 68.76, 115.99°)
OKLaboklab(73.87% -0.0882 0.1371)
OKLCHoklch(73.87% 0.163 122.8)
XYZxyz(31.0417, 42.0065, 9.2684)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA30 #5230BA
analogous
#BA9730 #98BA30 #53BA30
triadic
#98BA30 #3098BA #BA3098
tetradic
#98BA30 #30BA97 #5230BA #BA3053
square
#98BA30 #30BA97 #5230BA #BA3053
split-complementary
#98BA30 #3053BA #9730BA
monochromatic
#485917 #708923 #98BA30 #B4D354 #C9DF85

Accessibility & contrast

On white

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

On black

9.40
#98BA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA30
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA30#FFFFFF#000000##000000
##98BA301.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE12
Deuteranopia (green-blind)
#C1AD3D
Tritanopia (blue-blind)
#A0B0A0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #98ba30;
/* rgb */ color: rgb(152, 186, 48);
/* oklch */ color: oklch(73.9% 0.163 122.8);
Tailwind
colors: {
  custom: {
    50: '#bace72',
    500: '#98ba30',
    950: '#000000',
  },
}
SCSS
$custom: #98ba30;
$custom-light: #bace72;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba30",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 74.783,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73867,
    "c": 0.16305,
    "h": 122.8
  },
  "luminance": 0.42007
}

Semantic roles & 50–950 ramp

primary
#98BA30
secondary
#907DC9
accent
#46E26C
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98BA30

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

Preview Lab → · Contrast checker → · Palette generator →

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