#98CF3B#98CF3B

#98CF3B is a light, vivid yellow-green. Relative luminance 0.516; OKLCH L 78.9% C 0.182 H 128.0°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#98CF3B
RGBrgb(152, 207, 59)
HSLhsl(82, 61%, 52%)
HSVhsv(82, 71%, 81%)
CMYKcmyk(26.6%, 0%, 71.5%, 18.8%)
CIE-LABlab(77.05, -39.15, 64.01)
CIE-LCHlch(77.05, 75.03, 121.45°)
OKLaboklab(78.89% -0.112 0.1435)
OKLCHoklch(78.89% 0.182 128)
XYZxyz(36.0511, 51.6160, 12.2003)
Luminance0.5162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CF3B #723BCF
analogous
#CFBC3B #98CF3B #4ECF3B
triadic
#98CF3B #3B98CF #CF3B98
tetradic
#98CF3B #3BCFBC #723BCF #CF3B4E
square
#98CF3B #3BCFBC #723BCF #CF3B4E
split-complementary
#98CF3B #3B4ECF #BC3BCF
monochromatic
#53731C #76A528 #98CF3B #B2DB6C #CCE79D

Accessibility & contrast

On white

1.85
#98CF3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#98CF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CF3B
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CF3B#FFFFFF#000000##000000
##98CF3B1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C120
Deuteranopia (green-blind)
#D2BD48
Tritanopia (blue-blind)
#9DC6B2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #98cf3b;
/* rgb */ color: rgb(152, 207, 59);
/* oklch */ color: oklch(78.9% 0.182 128.0);
Tailwind
colors: {
  custom: {
    50: '#bade7a',
    500: '#98cf3b',
    950: '#000000',
  },
}
SCSS
$custom: #98cf3b;
$custom-light: #bade7a;
$custom-dark: #000000;
JSON
{
  "hex": "#98cf3b",
  "rgb": {
    "r": 152,
    "g": 207,
    "b": 59
  },
  "hsl": {
    "h": 82.297,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7889,
    "c": 0.182,
    "h": 128
  },
  "luminance": 0.51617
}

Semantic roles & 50–950 ramp

primary
#98CF3B
secondary
#4E327C
accent
#44E47F
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #98CF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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