#98BA27#98BA27

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

Color values

HEX#98BA27
RGBrgb(152, 186, 39)
HSLhsl(74, 65%, 44%)
HSVhsv(74, 79%, 73%)
CMYKcmyk(18.3%, 0%, 79%, 27.1%)
CIE-LABlab(70.83, -30.56, 64.61)
CIE-LCHlch(70.83, 71.47, 115.31°)
OKLaboklab(73.82% -0.0901 0.1415)
OKLCHoklch(73.82% 0.168 122.5)
XYZxyz(30.8745, 41.9396, 8.3877)
Luminance0.4194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA27 #4927BA
analogous
#BA9327 #98BA27 #4EBA27
triadic
#98BA27 #2798BA #BA2798
tetradic
#98BA27 #27BA93 #4927BA #BA274E
square
#98BA27 #27BA93 #4927BA #BA274E
split-complementary
#98BA27 #274EBA #9327BA
monochromatic
#455512 #6F871C #98BA27 #B6D846 #CAE379

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98BA27#FFFFFF#000000##000000
##98BA271.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)
#C1AD36
Tritanopia (blue-blind)
#A0B09F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #98ba27;
/* rgb */ color: rgb(152, 186, 39);
/* oklch */ color: oklch(73.8% 0.168 122.5);
Tailwind
colors: {
  custom: {
    50: '#bace6e',
    500: '#98ba27',
    950: '#000000',
  },
}
SCSS
$custom: #98ba27;
$custom-light: #bace6e;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba27",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 39
  },
  "hsl": {
    "h": 73.878,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73815,
    "c": 0.16776,
    "h": 122.5
  },
  "luminance": 0.4194
}

Semantic roles & 50–950 ramp

primary
#98BA27
secondary
#8772CB
accent
#40E867
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98BA27

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

Preview Lab → · Contrast checker → · Palette generator →

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