#98BF2C#98BF2C

#98BF2C is a light, vivid yellow-green. Relative luminance 0.441; OKLCH L 75.0% C 0.171 H 123.9°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#98BF2C
RGBrgb(152, 191, 44)
HSLhsl(76, 63%, 46%)
HSVhsv(76, 77%, 75%)
CMYKcmyk(20.4%, 0%, 77%, 25.1%)
CIE-LABlab(72.31, -32.68, 64.46)
CIE-LCHlch(72.31, 72.27, 116.88°)
OKLaboklab(75.02% -0.0955 0.1421)
OKLCHoklch(75.02% 0.171 123.9)
XYZxyz(32.0347, 44.1186, 9.2104)
Luminance0.4412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BF2C #532CBF
analogous
#BF9C2C #98BF2C #4FBF2C
triadic
#98BF2C #2C98BF #BF2C98
tetradic
#98BF2C #2CBF9C #532CBF #BF2C4F
square
#98BF2C #2CBF9C #532CBF #BF2C4F
split-complementary
#98BF2C #2C4FBF #9C2CBF
monochromatic
#495C15 #708D21 #98BF2C #B3D751 #C9E283

Accessibility & contrast

On white

2.14
#98BF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#98BF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BF2C
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BF2C#FFFFFF#000000##000000
##98BF2C1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB301
Deuteranopia (green-blind)
#C5B13B
Tritanopia (blue-blind)
#A0B5A4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #98bf2c;
/* rgb */ color: rgb(152, 191, 44);
/* oklch */ color: oklch(75.0% 0.171 123.9);
Tailwind
colors: {
  custom: {
    50: '#bad271',
    500: '#98bf2c',
    950: '#000000',
  },
}
SCSS
$custom: #98bf2c;
$custom-light: #bad271;
$custom-dark: #000000;
JSON
{
  "hex": "#98bf2c",
  "rgb": {
    "r": 152,
    "g": 191,
    "b": 44
  },
  "hsl": {
    "h": 75.918,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75018,
    "c": 0.17117,
    "h": 123.9
  },
  "luminance": 0.44119
}

Semantic roles & 50–950 ramp

primary
#98BF2C
secondary
#917BCC
accent
#42E66E
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121408
muted
#81827B

Preview Lab

Preview with #98BF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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