#98C23D#98C23D

#98C23D is a light, vivid yellow-green. Relative luminance 0.456; OKLCH L 75.8% C 0.165 H 125.4°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#98C23D
RGBrgb(152, 194, 61)
HSLhsl(79, 52%, 50%)
HSVhsv(79, 69%, 76%)
CMYKcmyk(21.6%, 0%, 68.6%, 23.9%)
CIE-LABlab(73.28, -33.12, 59.47)
CIE-LCHlch(73.28, 68.07, 119.11°)
OKLaboklab(75.84% -0.0953 0.1342)
OKLCHoklch(75.84% 0.165 125.4)
XYZxyz(33.0832, 45.5955, 11.4718)
Luminance0.4560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C23D #673DC2
analogous
#C2A93D #98C23D #56C23D
triadic
#98C23D #3D98C2 #C23D98
tetradic
#98C23D #3DC2A9 #673DC2 #C23D56
square
#98C23D #3DC2A9 #673DC2 #C23D56
split-complementary
#98C23D #3D56C2 #A93DC2
monochromatic
#4F6520 #74932E #98C23D #B1D16C #C9DF9A

Accessibility & contrast

On white

2.08
#98C23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#98C23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C23D
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C23D#FFFFFF#000000##000000
##98C23D1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB529
Deuteranopia (green-blind)
#C7B348
Tritanopia (blue-blind)
#9FB9A7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #98c23d;
/* rgb */ color: rgb(152, 194, 61);
/* oklch */ color: oklch(75.8% 0.165 125.4);
Tailwind
colors: {
  custom: {
    50: '#bad47a',
    500: '#98c23d',
    950: '#000000',
  },
}
SCSS
$custom: #98c23d;
$custom-light: #bad47a;
$custom-dark: #000000;
JSON
{
  "hex": "#98c23d",
  "rgb": {
    "r": 152,
    "g": 194,
    "b": 61
  },
  "hsl": {
    "h": 78.947,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.75839,
    "c": 0.16464,
    "h": 125.4
  },
  "luminance": 0.45596
}

Semantic roles & 50–950 ramp

primary
#98C23D
secondary
#A290CB
accent
#4CDC79
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #98C23D

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

Preview Lab → · Contrast checker → · Palette generator →

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