#98BF3B#98BF3B

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

Color values

HEX#98BF3B
RGBrgb(152, 191, 59)
HSLhsl(78, 53%, 49%)
HSVhsv(78, 69%, 75%)
CMYKcmyk(20.4%, 0%, 69.1%, 25.1%)
CIE-LABlab(72.40, -31.85, 59.34)
CIE-LCHlch(72.40, 67.35, 118.23°)
OKLaboklab(75.12% -0.092 0.1337)
OKLCHoklch(75.12% 0.162 124.5)
XYZxyz(32.3694, 44.2525, 10.9731)
Luminance0.4425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BF3B #623BBF
analogous
#BFA43B #98BF3B #56BF3B
triadic
#98BF3B #3B98BF #BF3B98
tetradic
#98BF3B #3BBFA4 #623BBF #BF3B56
square
#98BF3B #3BBFA4 #623BBF #BF3B56
split-complementary
#98BF3B #3B56BF #A43BBF
monochromatic
#4E611E #73902D #98BF3B #B1D067 #C9DF96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98BF3B#FFFFFF#000000##000000
##98BF3B1.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)
#C9B326
Deuteranopia (green-blind)
#C4B146
Tritanopia (blue-blind)
#9FB6A5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #98bf3b;
/* rgb */ color: rgb(152, 191, 59);
/* oklch */ color: oklch(75.1% 0.162 124.5);
Tailwind
colors: {
  custom: {
    50: '#bad279',
    500: '#98bf3b',
    950: '#000000',
  },
}
SCSS
$custom: #98bf3b;
$custom-light: #bad279;
$custom-dark: #000000;
JSON
{
  "hex": "#98bf3b",
  "rgb": {
    "r": 152,
    "g": 191,
    "b": 59
  },
  "hsl": {
    "h": 77.727,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75119,
    "c": 0.16226,
    "h": 124.5
  },
  "luminance": 0.44253
}

Semantic roles & 50–950 ramp

primary
#98BF3B
secondary
#9E8CCA
accent
#4CDC76
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#121409
muted
#81827B

Preview Lab

Preview with #98BF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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