#98BA23#98BA23

#98BA23 is a light, vivid yellow-green. Relative luminance 0.419; OKLCH L 73.8% C 0.170 H 122.4°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#98BA23
RGBrgb(152, 186, 35)
HSLhsl(74, 68%, 43%)
HSVhsv(74, 81%, 73%)
CMYKcmyk(18.3%, 0%, 81.2%, 27.1%)
CIE-LABlab(70.81, -30.71, 65.71)
CIE-LCHlch(70.81, 72.53, 115.05°)
OKLaboklab(73.8% -0.0908 0.1432)
OKLCHoklch(73.8% 0.17 122.4)
XYZxyz(30.8117, 41.9145, 8.0569)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA23 #4523BA
analogous
#BA9023 #98BA23 #4CBA23
triadic
#98BA23 #2398BA #BA2398
tetradic
#98BA23 #23BA90 #4523BA #BA234C
square
#98BA23 #23BA90 #4523BA #BA234C
split-complementary
#98BA23 #234CBA #9023BA
monochromatic
#445310 #6E8619 #98BA23 #B8DB3F #CBE573

Accessibility & contrast

On white

2.24
#98BA23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#98BA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA23
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA23#FFFFFF#000000##000000
##98BA231.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C1AD33
Tritanopia (blue-blind)
#A0B09F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #98ba23;
/* rgb */ color: rgb(152, 186, 35);
/* oklch */ color: oklch(73.8% 0.170 122.4);
Tailwind
colors: {
  custom: {
    50: '#bace6d',
    500: '#98ba23',
    950: '#000000',
  },
}
SCSS
$custom: #98ba23;
$custom-light: #bace6d;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba23",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 35
  },
  "hsl": {
    "h": 73.51,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73795,
    "c": 0.16957,
    "h": 122.4
  },
  "luminance": 0.41915
}

Semantic roles & 50–950 ramp

primary
#98BA23
secondary
#826DCC
accent
#3DEB64
background
#FBFCF6
surface
#F7F9EC
border
#D0D2C7
text
#121308
muted
#81827B

Preview Lab

Preview with #98BA23

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

Preview Lab → · Contrast checker → · Palette generator →

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