#98BF3C#98BF3C

#98BF3C is a light, vivid yellow-green. Relative luminance 0.443; OKLCH L 75.1% C 0.162 H 124.6°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#98BF3C
RGBrgb(152, 191, 60)
HSLhsl(78, 52%, 49%)
HSVhsv(78, 69%, 75%)
CMYKcmyk(20.4%, 0%, 68.6%, 25.1%)
CIE-LABlab(72.40, -31.79, 58.96)
CIE-LCHlch(72.40, 66.98, 118.33°)
OKLaboklab(75.13% -0.0917 0.133)
OKLCHoklch(75.13% 0.162 124.6)
XYZxyz(32.3956, 44.2629, 11.1110)
Luminance0.4426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BF3C #633CBF
analogous
#BFA53C #98BF3C #56BF3C
triadic
#98BF3C #3C98BF #BF3C98
tetradic
#98BF3C #3CBFA5 #633CBF #BF3C56
square
#98BF3C #3CBFA5 #633CBF #BF3C56
split-complementary
#98BF3C #3C56BF #A53CBF
monochromatic
#4E621F #73902D #98BF3C #B1D068 #C9DE97

Accessibility & contrast

On white

2.13
#98BF3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#98BF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BF3C
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BF3C#FFFFFF#000000##000000
##98BF3C1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B328
Deuteranopia (green-blind)
#C4B147
Tritanopia (blue-blind)
#9FB6A5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98bf3c;
/* rgb */ color: rgb(152, 191, 60);
/* oklch */ color: oklch(75.1% 0.162 124.6);
Tailwind
colors: {
  custom: {
    50: '#bad279',
    500: '#98bf3c',
    950: '#000000',
  },
}
SCSS
$custom: #98bf3c;
$custom-light: #bad279;
$custom-dark: #000000;
JSON
{
  "hex": "#98bf3c",
  "rgb": {
    "r": 152,
    "g": 191,
    "b": 60
  },
  "hsl": {
    "h": 77.863,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75126,
    "c": 0.16159,
    "h": 124.6
  },
  "luminance": 0.44263
}

Semantic roles & 50–950 ramp

primary
#98BF3C
secondary
#9F8DCA
accent
#4CDC77
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #98BF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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