#98C23B#98C23B

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

Color values

HEX#98C23B
RGBrgb(152, 194, 59)
HSLhsl(79, 53%, 50%)
HSVhsv(79, 70%, 76%)
CMYKcmyk(21.6%, 0%, 69.6%, 23.9%)
CIE-LABlab(73.27, -33.25, 60.22)
CIE-LCHlch(73.27, 68.79, 118.90°)
OKLaboklab(75.82% -0.0958 0.1355)
OKLCHoklch(75.82% 0.166 125.3)
XYZxyz(33.0303, 45.5743, 11.1934)
Luminance0.4557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C23B #653BC2
analogous
#C2A93B #98C23B #54C23B
triadic
#98C23B #3B98C2 #C23B98
tetradic
#98C23B #3BC2A9 #653BC2 #C23B54
square
#98C23B #3BC2A9 #653BC2 #C23B54
split-complementary
#98C23B #3B54C2 #A93BC2
monochromatic
#4E641E #73932D #98C23B #B1D169 #C9E098

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98C23B#FFFFFF#000000##000000
##98C23B1.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)
#CCB525
Deuteranopia (green-blind)
#C7B346
Tritanopia (blue-blind)
#9FB9A7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #98c23b;
/* rgb */ color: rgb(152, 194, 59);
/* oklch */ color: oklch(75.8% 0.166 125.3);
Tailwind
colors: {
  custom: {
    50: '#bad479',
    500: '#98c23b',
    950: '#000000',
  },
}
SCSS
$custom: #98c23b;
$custom-light: #bad479;
$custom-dark: #000000;
JSON
{
  "hex": "#98c23b",
  "rgb": {
    "r": 152,
    "g": 194,
    "b": 59
  },
  "hsl": {
    "h": 78.667,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75824,
    "c": 0.16598,
    "h": 125.3
  },
  "luminance": 0.45575
}

Semantic roles & 50–950 ramp

primary
#98C23B
secondary
#A18ECB
accent
#4BDD78
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #98C23B

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

Preview Lab → · Contrast checker → · Palette generator →

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