#98CF42#98CF42

#98CF42 is a light, vivid yellow-green. Relative luminance 0.517; OKLCH L 78.9% C 0.178 H 128.4°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#98CF42
RGBrgb(152, 207, 66)
HSLhsl(83, 59%, 54%)
HSVhsv(83, 68%, 81%)
CMYKcmyk(26.6%, 0%, 68.1%, 18.8%)
CIE-LABlab(77.10, -38.70, 61.47)
CIE-LCHlch(77.10, 72.64, 122.19°)
OKLaboklab(78.94% -0.1102 0.1392)
OKLCHoklch(78.94% 0.178 128.4)
XYZxyz(36.2450, 51.6936, 13.2215)
Luminance0.5169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CF42 #7942CF
analogous
#CFBF42 #98CF42 #51CF42
triadic
#98CF42 #4298CF #CF4298
tetradic
#98CF42 #42CFBF #7942CF #CF4251
square
#98CF42 #42CFBF #7942CF #CF4251
split-complementary
#98CF42 #4251CF #BF42CF
monochromatic
#55781F #78A92B #98CF42 #B3DB73 #CDE8A4

Accessibility & contrast

On white

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

On black

11.34
#98CF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CF42
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CF42#FFFFFF#000000##000000
##98CF421.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#9DC6B3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #98cf42;
/* rgb */ color: rgb(152, 207, 66);
/* oklch */ color: oklch(78.9% 0.178 128.4);
Tailwind
colors: {
  custom: {
    50: '#bade7e',
    500: '#98cf42',
    950: '#000000',
  },
}
SCSS
$custom: #98cf42;
$custom-light: #bade7e;
$custom-dark: #000000;
JSON
{
  "hex": "#98cf42",
  "rgb": {
    "r": 152,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 83.404,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78942,
    "c": 0.17751,
    "h": 128.4
  },
  "luminance": 0.51694
}

Semantic roles & 50–950 ramp

primary
#98CF42
secondary
#523580
accent
#45E383
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #98CF42

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

Preview Lab → · Contrast checker → · Palette generator →

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