#98BA26#98BA26

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

Color values

HEX#98BA26
RGBrgb(152, 186, 38)
HSLhsl(74, 66%, 44%)
HSVhsv(74, 80%, 73%)
CMYKcmyk(18.3%, 0%, 79.6%, 27.1%)
CIE-LABlab(70.82, -30.60, 64.89)
CIE-LCHlch(70.82, 71.74, 115.24°)
OKLaboklab(73.81% -0.0902 0.142)
OKLCHoklch(73.81% 0.168 122.4)
XYZxyz(30.8581, 41.9330, 8.3016)
Luminance0.4193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA26 #4826BA
analogous
#BA9226 #98BA26 #4EBA26
triadic
#98BA26 #2698BA #BA2698
tetradic
#98BA26 #26BA92 #4826BA #BA264E
square
#98BA26 #26BA92 #4826BA #BA264E
split-complementary
#98BA26 #264EBA #9226BA
monochromatic
#455411 #6E871C #98BA26 #B7D944 #CAE377

Accessibility & contrast

On white

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

On black

9.39
#98BA26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA26
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA26#FFFFFF#000000##000000
##98BA261.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98ba26;
/* rgb */ color: rgb(152, 186, 38);
/* oklch */ color: oklch(73.8% 0.168 122.4);
Tailwind
colors: {
  custom: {
    50: '#bace6e',
    500: '#98ba26',
    950: '#000000',
  },
}
SCSS
$custom: #98ba26;
$custom-light: #bace6e;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba26",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 38
  },
  "hsl": {
    "h": 73.784,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73809,
    "c": 0.16823,
    "h": 122.4
  },
  "luminance": 0.41933
}

Semantic roles & 50–950 ramp

primary
#98BA26
secondary
#8671CB
accent
#3FE966
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98BA26

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

Preview Lab → · Contrast checker → · Palette generator →

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