#98BE2D#98BE2D

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

Color values

HEX#98BE2D
RGBrgb(152, 190, 45)
HSLhsl(76, 62%, 46%)
HSVhsv(76, 76%, 75%)
CMYKcmyk(20%, 0%, 76.3%, 25.5%)
CIE-LABlab(72.02, -32.16, 63.88)
CIE-LCHlch(72.02, 71.52, 116.73°)
OKLaboklab(74.79% -0.094 0.141)
OKLCHoklch(74.79% 0.169 123.7)
XYZxyz(31.8364, 43.6915, 9.2382)
Luminance0.4369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BE2D #532DBE
analogous
#BE9B2D #98BE2D #4FBE2D
triadic
#98BE2D #2D98BE #BE2D98
tetradic
#98BE2D #2DBE9B #532DBE #BE2D4F
square
#98BE2D #2DBE9B #532DBE #BE2D4F
split-complementary
#98BE2D #2D4FBE #9B2DBE
monochromatic
#495B16 #708D21 #98BE2D #B3D652 #C9E284

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98BE2D#FFFFFF#000000##000000
##98BE2D1.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)
#C9B205
Deuteranopia (green-blind)
#C4B03B
Tritanopia (blue-blind)
#A0B4A3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #98be2d;
/* rgb */ color: rgb(152, 190, 45);
/* oklch */ color: oklch(74.8% 0.169 123.7);
Tailwind
colors: {
  custom: {
    50: '#bad172',
    500: '#98be2d',
    950: '#000000',
  },
}
SCSS
$custom: #98be2d;
$custom-light: #bad172;
$custom-dark: #000000;
JSON
{
  "hex": "#98be2d",
  "rgb": {
    "r": 152,
    "g": 190,
    "b": 45
  },
  "hsl": {
    "h": 75.724,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74788,
    "c": 0.16946,
    "h": 123.7
  },
  "luminance": 0.43692
}

Semantic roles & 50–950 ramp

primary
#98BE2D
secondary
#917CCB
accent
#43E56D
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121408
muted
#81827B

Preview Lab

Preview with #98BE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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