#98CD38#98CD38

#98CD38 is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.4% C 0.181 H 127.4°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#98CD38
RGBrgb(152, 205, 56)
HSLhsl(81, 60%, 51%)
HSVhsv(81, 73%, 80%)
CMYKcmyk(25.9%, 0%, 72.7%, 19.6%)
CIE-LABlab(76.45, -38.43, 64.47)
CIE-LCHlch(76.45, 75.06, 120.80°)
OKLaboklab(78.4% -0.1103 0.144)
OKLCHoklch(78.4% 0.181 127.4)
XYZxyz(35.4941, 50.6228, 11.6418)
Luminance0.5062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98CD38 #6D38CD
analogous
#CDB738 #98CD38 #4DCD38
triadic
#98CD38 #3898CD #CD3898
tetradic
#98CD38 #38CDB7 #6D38CD #CD384D
square
#98CD38 #38CDB7 #6D38CD #CD384D
split-complementary
#98CD38 #384DCD #B738CD
monochromatic
#516F1C #75A028 #98CD38 #B1D969 #CBE69A

Accessibility & contrast

On white

1.89
#98CD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#98CD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98CD38
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98CD38#FFFFFF#000000##000000
##98CD381.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF1B
Deuteranopia (green-blind)
#D0BC46
Tritanopia (blue-blind)
#9EC4B0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #98cd38;
/* rgb */ color: rgb(152, 205, 56);
/* oklch */ color: oklch(78.4% 0.181 127.4);
Tailwind
colors: {
  custom: {
    50: '#badc79',
    500: '#98cd38',
    950: '#000000',
  },
}
SCSS
$custom: #98cd38;
$custom-light: #badc79;
$custom-dark: #000000;
JSON
{
  "hex": "#98cd38",
  "rgb": {
    "r": 152,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 81.342,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78396,
    "c": 0.18136,
    "h": 127.4
  },
  "luminance": 0.50624
}

Semantic roles & 50–950 ramp

primary
#98CD38
secondary
#4A3178
accent
#45E37D
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #98CD38

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

Preview Lab → · Contrast checker → · Palette generator →

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