#98BC45#98BC45

#98BC45 is a light, vivid yellow-green. Relative luminance 0.431; OKLCH L 74.5% C 0.151 H 124.3°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#98BC45
RGBrgb(152, 188, 69)
HSLhsl(78, 47%, 50%)
HSVhsv(78, 63%, 74%)
CMYKcmyk(19.1%, 0%, 63.3%, 26.3%)
CIE-LABlab(71.60, -29.74, 54.47)
CIE-LCHlch(71.60, 62.06, 118.63°)
OKLaboklab(74.5% -0.0853 0.1248)
OKLCHoklch(74.5% 0.151 124.3)
XYZxyz(32.0065, 43.0712, 12.2564)
Luminance0.4307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BC45 #6945BC
analogous
#BCA445 #98BC45 #5CBC45
triadic
#98BC45 #4598BC #BC4598
tetradic
#98BC45 #45BCA4 #6945BC #BC455C
square
#98BC45 #45BCA4 #6945BC #BC455C
split-complementary
#98BC45 #455CBC #A445BC
monochromatic
#506324 #749034 #98BC45 #B1CC72 #CADC9F

Accessibility & contrast

On white

2.18
#98BC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#98BC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BC45
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BC45#FFFFFF#000000##000000
##98BC451.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B136
Deuteranopia (green-blind)
#C1AF4E
Tritanopia (blue-blind)
#9FB3A3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #98bc45;
/* rgb */ color: rgb(152, 188, 69);
/* oklch */ color: oklch(74.5% 0.151 124.3);
Tailwind
colors: {
  custom: {
    50: '#b9d07e',
    500: '#98bc45',
    950: '#000000',
  },
}
SCSS
$custom: #98bc45;
$custom-light: #b9d07e;
$custom-dark: #000000;
JSON
{
  "hex": "#98bc45",
  "rgb": {
    "r": 152,
    "g": 188,
    "b": 69
  },
  "hsl": {
    "h": 78.151,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74502,
    "c": 0.15117,
    "h": 124.3
  },
  "luminance": 0.43072
}

Semantic roles & 50–950 ramp

primary
#98BC45
secondary
#A494C9
accent
#51D77A
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #98BC45

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

Preview Lab → · Contrast checker → · Palette generator →

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