#98C02B#98C02B

#98C02B is a light, vivid yellow-green. Relative luminance 0.445; OKLCH L 75.2% C 0.173 H 124.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#98C02B
RGBrgb(152, 192, 43)
HSLhsl(76, 63%, 46%)
HSVhsv(76, 78%, 75%)
CMYKcmyk(20.8%, 0%, 77.6%, 24.7%)
CIE-LABlab(72.59, -33.19, 65.03)
CIE-LCHlch(72.59, 73.01, 117.03°)
OKLaboklab(75.25% -0.0969 0.1431)
OKLCHoklch(75.25% 0.173 124.1)
XYZxyz(32.2349, 44.5488, 9.1856)
Luminance0.4455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C02B #532BC0
analogous
#C09D2B #98C02B #4EC02B
triadic
#98C02B #2B98C0 #C02B98
tetradic
#98C02B #2BC09D #532BC0 #C02B4E
square
#98C02B #2BC09D #532BC0 #C02B4E
split-complementary
#98C02B #2B4EC0 #9D2BC0
monochromatic
#495C15 #708E20 #98C02B #B3D850 #C9E382

Accessibility & contrast

On white

2.12
#98C02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#98C02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C02B
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C02B#FFFFFF#000000##000000
##98C02B1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#A0B6A4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98c02b;
/* rgb */ color: rgb(152, 192, 43);
/* oklch */ color: oklch(75.2% 0.173 124.1);
Tailwind
colors: {
  custom: {
    50: '#bad371',
    500: '#98c02b',
    950: '#000000',
  },
}
SCSS
$custom: #98c02b;
$custom-light: #bad371;
$custom-dark: #000000;
JSON
{
  "hex": "#98c02b",
  "rgb": {
    "r": 152,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 76.107,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75248,
    "c": 0.17285,
    "h": 124.1
  },
  "luminance": 0.44549
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98C02B

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

Preview Lab → · Contrast checker → · Palette generator →

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