#98C131#98C131

#98C131 is a light, vivid yellow-green. Relative luminance 0.450; OKLCH L 75.5% C 0.171 H 124.6°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#98C131
RGBrgb(152, 193, 49)
HSLhsl(77, 60%, 47%)
HSVhsv(77, 75%, 76%)
CMYKcmyk(21.2%, 0%, 74.6%, 24.3%)
CIE-LABlab(72.92, -33.36, 63.42)
CIE-LCHlch(72.92, 71.66, 117.74°)
OKLaboklab(75.52% -0.097 0.1407)
OKLCHoklch(75.52% 0.171 124.6)
XYZxyz(32.5735, 45.0367, 9.8820)
Luminance0.4504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C131 #5A31C1
analogous
#C1A231 #98C131 #50C131
triadic
#98C131 #3198C1 #C13198
tetradic
#98C131 #31C1A2 #5A31C1 #C13150
square
#98C131 #31C1A2 #5A31C1 #C13150
split-complementary
#98C131 #3150C1 #A231C1
monochromatic
#4B5F18 #729025 #98C131 #B2D55A #C9E28B

Accessibility & contrast

On white

2.10
#98C131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#98C131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C131
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C131#FFFFFF#000000##000000
##98C1311.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB411
Deuteranopia (green-blind)
#C6B33F
Tritanopia (blue-blind)
#9FB7A6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #98c131;
/* rgb */ color: rgb(152, 193, 49);
/* oklch */ color: oklch(75.5% 0.171 124.6);
Tailwind
colors: {
  custom: {
    50: '#bad374',
    500: '#98c131',
    950: '#000000',
  },
}
SCSS
$custom: #98c131;
$custom-light: #bad374;
$custom-dark: #000000;
JSON
{
  "hex": "#98c131",
  "rgb": {
    "r": 152,
    "g": 193,
    "b": 49
  },
  "hsl": {
    "h": 77.083,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.75519,
    "c": 0.17087,
    "h": 124.6
  },
  "luminance": 0.45037
}

Semantic roles & 50–950 ramp

primary
#98C131
secondary
#9782CC
accent
#45E372
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121409
muted
#81827B

Preview Lab

Preview with #98C131

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

Preview Lab → · Contrast checker → · Palette generator →

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