#98C231#98C231

#98C231 is a light, vivid yellow-green. Relative luminance 0.455; OKLCH L 75.8% C 0.172 H 124.8°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#98C231
RGBrgb(152, 194, 49)
HSLhsl(77, 60%, 48%)
HSVhsv(77, 75%, 76%)
CMYKcmyk(21.6%, 0%, 74.7%, 23.9%)
CIE-LABlab(73.21, -33.82, 63.70)
CIE-LCHlch(73.21, 72.12, 117.96°)
OKLaboklab(75.75% -0.0982 0.1413)
OKLCHoklch(75.75% 0.172 124.8)
XYZxyz(32.7953, 45.4804, 9.9559)
Luminance0.4548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C231 #5B31C2
analogous
#C2A331 #98C231 #50C231
triadic
#98C231 #3198C2 #C23198
tetradic
#98C231 #31C2A3 #5B31C2 #C23150
square
#98C231 #31C2A3 #5B31C2 #C23150
split-complementary
#98C231 #3150C2 #A331C2
monochromatic
#4B6018 #729125 #98C231 #B2D65B #C9E28C

Accessibility & contrast

On white

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

On black

10.10
#98C231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C231
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C231#FFFFFF#000000##000000
##98C2311.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB510
Deuteranopia (green-blind)
#C7B33F
Tritanopia (blue-blind)
#9FB8A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #98c231;
/* rgb */ color: rgb(152, 194, 49);
/* oklch */ color: oklch(75.8% 0.172 124.8);
Tailwind
colors: {
  custom: {
    50: '#bad474',
    500: '#98c231',
    950: '#000000',
  },
}
SCSS
$custom: #98c231;
$custom-light: #bad474;
$custom-dark: #000000;
JSON
{
  "hex": "#98c231",
  "rgb": {
    "r": 152,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 77.379,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75754,
    "c": 0.17206,
    "h": 124.8
  },
  "luminance": 0.45481
}

Semantic roles & 50–950 ramp

primary
#98C231
secondary
#9883CC
accent
#45E373
background
#FBFDF7
surface
#F7FAED
border
#D0D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #98C231

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

Preview Lab → · Contrast checker → · Palette generator →

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