#98C42B#98C42B

#98C42B is a light, vivid yellow-green. Relative luminance 0.463; OKLCH L 76.2% C 0.178 H 125.0°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#98C42B
RGBrgb(152, 196, 43)
HSLhsl(77, 64%, 47%)
HSVhsv(77, 78%, 77%)
CMYKcmyk(22.4%, 0%, 78.1%, 23.1%)
CIE-LABlab(73.76, -35.03, 66.11)
CIE-LCHlch(73.76, 74.81, 117.92°)
OKLaboklab(76.19% -0.102 0.1454)
OKLCHoklch(76.19% 0.178 125)
XYZxyz(33.1252, 46.3293, 9.4823)
Luminance0.4633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C42B #572BC4
analogous
#C4A42B #98C42B #4BC42B
triadic
#98C42B #2B98C4 #C42B98
tetradic
#98C42B #2BC4A4 #572BC4 #C42B4B
square
#98C42B #2BC4A4 #572BC4 #C42B4B
split-complementary
#98C42B #2B4BC4 #A42BC4
monochromatic
#4A6015 #719220 #98C42B #B3D953 #C9E485

Accessibility & contrast

On white

2.05
#98C42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#98C42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C42B
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C42B#FFFFFF#000000##000000
##98C42B1.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#C9B53B
Tritanopia (blue-blind)
#9FBAA8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #98c42b;
/* rgb */ color: rgb(152, 196, 43);
/* oklch */ color: oklch(76.2% 0.178 125.0);
Tailwind
colors: {
  custom: {
    50: '#bad671',
    500: '#98c42b',
    950: '#000000',
  },
}
SCSS
$custom: #98c42b;
$custom-light: #bad671;
$custom-dark: #000000;
JSON
{
  "hex": "#98c42b",
  "rgb": {
    "r": 152,
    "g": 196,
    "b": 43
  },
  "hsl": {
    "h": 77.255,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76191,
    "c": 0.17757,
    "h": 125
  },
  "luminance": 0.4633
}

Semantic roles & 50–950 ramp

primary
#98C42B
secondary
#947DCE
accent
#41E771
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #98C42B

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

Preview Lab → · Contrast checker → · Palette generator →

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