#98CB3B#98CB3B

#98CB3B is a light, vivid yellow-green. Relative luminance 0.497; OKLCH L 77.9% C 0.177 H 127.2°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#98CB3B
RGBrgb(152, 203, 59)
HSLhsl(81, 58%, 51%)
HSVhsv(81, 71%, 80%)
CMYKcmyk(25.1%, 0%, 70.9%, 20.4%)
CIE-LABlab(75.89, -37.36, 62.85)
CIE-LCHlch(75.89, 73.12, 120.73°)
OKLaboklab(77.94% -0.1071 0.141)
OKLCHoklch(77.94% 0.177 127.2)
XYZxyz(35.0943, 49.7024, 11.8814)
Luminance0.4970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CB3B #6E3BCB
analogous
#CBB63B #98CB3B #50CB3B
triadic
#98CB3B #3B98CB #CB3B98
tetradic
#98CB3B #3BCBB6 #6E3BCB #CB3B50
square
#98CB3B #3BCBB6 #6E3BCB #CB3B50
split-complementary
#98CB3B #3B50CB #B63BCB
monochromatic
#526E1D #759F2A #98CB3B #B1D86B #CBE59C

Accessibility & contrast

On white

1.92
#98CB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#98CB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CB3B
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CB3B#FFFFFF#000000##000000
##98CB3B1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD22
Deuteranopia (green-blind)
#CEBA48
Tritanopia (blue-blind)
#9EC2AF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #98cb3b;
/* rgb */ color: rgb(152, 203, 59);
/* oklch */ color: oklch(77.9% 0.177 127.2);
Tailwind
colors: {
  custom: {
    50: '#badb7a',
    500: '#98cb3b',
    950: '#000000',
  },
}
SCSS
$custom: #98cb3b;
$custom-light: #badb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#98cb3b",
  "rgb": {
    "r": 152,
    "g": 203,
    "b": 59
  },
  "hsl": {
    "h": 81.25,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77945,
    "c": 0.1771,
    "h": 127.2
  },
  "luminance": 0.49703
}

Semantic roles & 50–950 ramp

primary
#98CB3B
secondary
#A891D1
accent
#47E17D
background
#FBFDF7
surface
#F7FBEE
border
#D0D4C9
text
#12150A
muted
#81837C

Preview Lab

Preview with #98CB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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