#98C32B#98C32B

#98C32B is a light, vivid yellow-green. Relative luminance 0.459; OKLCH L 76.0% C 0.176 H 124.8°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#98C32B
RGBrgb(152, 195, 43)
HSLhsl(77, 64%, 47%)
HSVhsv(77, 78%, 76%)
CMYKcmyk(22.1%, 0%, 77.9%, 23.5%)
CIE-LABlab(73.47, -34.57, 65.84)
CIE-LCHlch(73.47, 74.36, 117.70°)
OKLaboklab(75.96% -0.1007 0.1448)
OKLCHoklch(75.96% 0.176 124.8)
XYZxyz(32.9004, 45.8797, 9.4074)
Luminance0.4588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C32B #562BC3
analogous
#C3A22B #98C32B #4CC32B
triadic
#98C32B #2B98C3 #C32B98
tetradic
#98C32B #2BC3A2 #562BC3 #C32B4C
square
#98C32B #2BC3A2 #562BC3 #C32B4C
split-complementary
#98C32B #2B4CC3 #A22BC3
monochromatic
#4A5F15 #719120 #98C32B #B3D952 #C9E484

Accessibility & contrast

On white

2.06
#98C32B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#98C32B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C32B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C32B#FFFFFF#000000##000000
##98C32B1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98c32b;
/* rgb */ color: rgb(152, 195, 43);
/* oklch */ color: oklch(76.0% 0.176 124.8);
Tailwind
colors: {
  custom: {
    50: '#bad571',
    500: '#98c32b',
    950: '#000000',
  },
}
SCSS
$custom: #98c32b;
$custom-light: #bad571;
$custom-dark: #000000;
JSON
{
  "hex": "#98c32b",
  "rgb": {
    "r": 152,
    "g": 195,
    "b": 43
  },
  "hsl": {
    "h": 76.974,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75955,
    "c": 0.17638,
    "h": 124.8
  },
  "luminance": 0.4588
}

Semantic roles & 50–950 ramp

primary
#98C32B
secondary
#937DCD
accent
#41E770
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121408
muted
#81837B

Preview Lab

Preview with #98C32B

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

Preview Lab → · Contrast checker → · Palette generator →

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