#98BA3B#98BA3B

#98BA3B is a light, vivid yellow-green. Relative luminance 0.421; OKLCH L 73.9% C 0.156 H 123.2°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#98BA3B
RGBrgb(152, 186, 59)
HSLhsl(76, 52%, 48%)
HSVhsv(76, 68%, 73%)
CMYKcmyk(18.3%, 0%, 68.3%, 27.1%)
CIE-LABlab(70.95, -29.50, 57.86)
CIE-LCHlch(70.95, 64.94, 117.01°)
OKLaboklab(73.95% -0.0855 0.1306)
OKLCHoklch(73.95% 0.156 123.2)
XYZxyz(31.2975, 42.1088, 10.6158)
Luminance0.4211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA3B #5D3BBA
analogous
#BA9C3B #98BA3B #58BA3B
triadic
#98BA3B #3B98BA #BA3B98
tetradic
#98BA3B #3BBA9C #5D3BBA #BA3B58
square
#98BA3B #3BBA9C #5D3BBA #BA3B58
split-complementary
#98BA3B #3B58BA #9C3BBA
monochromatic
#4C5D1E #728C2C #98BA3B #B2CE64 #C9DD93

Accessibility & contrast

On white

2.23
#98BA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#98BA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA3B
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA3B#FFFFFF#000000##000000
##98BA3B1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF28
Deuteranopia (green-blind)
#C0AD45
Tritanopia (blue-blind)
#9FB1A1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98ba3b;
/* rgb */ color: rgb(152, 186, 59);
/* oklch */ color: oklch(73.9% 0.156 123.2);
Tailwind
colors: {
  custom: {
    50: '#b9ce78',
    500: '#98ba3b',
    950: '#000000',
  },
}
SCSS
$custom: #98ba3b;
$custom-light: #b9ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba3b",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 76.063,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73946,
    "c": 0.15606,
    "h": 123.2
  },
  "luminance": 0.42109
}

Semantic roles & 50–950 ramp

primary
#98BA3B
secondary
#9A89C8
accent
#4DDB73
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#121309
muted
#81827B

Preview Lab

Preview with #98BA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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