#98BE2F#98BE2F

#98BE2F is a light, vivid yellow-green. Relative luminance 0.437; OKLCH L 74.8% C 0.168 H 123.8°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#98BE2F
RGBrgb(152, 190, 47)
HSLhsl(76, 60%, 46%)
HSVhsv(76, 75%, 75%)
CMYKcmyk(20%, 0%, 75.3%, 25.5%)
CIE-LABlab(72.03, -32.07, 63.24)
CIE-LCHlch(72.03, 70.91, 116.89°)
OKLaboklab(74.8% -0.0936 0.14)
OKLCHoklch(74.8% 0.168 123.8)
XYZxyz(31.8758, 43.7073, 9.4458)
Luminance0.4371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BE2F #552FBE
analogous
#BE9D2F #98BE2F #51BE2F
triadic
#98BE2F #2F98BE #BE2F98
tetradic
#98BE2F #2FBE9D #552FBE #BE2F51
square
#98BE2F #2FBE9D #552FBE #BE2F51
split-complementary
#98BE2F #2F51BE #9D2FBE
monochromatic
#4A5C17 #718D23 #98BE2F #B3D555 #C9E186

Accessibility & contrast

On white

2.16
#98BE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#98BE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BE2F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BE2F#FFFFFF#000000##000000
##98BE2F1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B20D
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#A0B4A3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #98be2f;
/* rgb */ color: rgb(152, 190, 47);
/* oklch */ color: oklch(74.8% 0.168 123.8);
Tailwind
colors: {
  custom: {
    50: '#bad172',
    500: '#98be2f',
    950: '#000000',
  },
}
SCSS
$custom: #98be2f;
$custom-light: #bad172;
$custom-dark: #000000;
JSON
{
  "hex": "#98be2f",
  "rgb": {
    "r": 152,
    "g": 190,
    "b": 47
  },
  "hsl": {
    "h": 75.944,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.748,
    "c": 0.16838,
    "h": 123.8
  },
  "luminance": 0.43708
}

Semantic roles & 50–950 ramp

primary
#98BE2F
secondary
#927ECB
accent
#44E36F
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121409
muted
#81827B

Preview Lab

Preview with #98BE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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