#98BB1B#98BB1B

#98BB1B is a light, vivid yellow-green. Relative luminance 0.423; OKLCH L 74.0% C 0.174 H 122.5°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#98BB1B
RGBrgb(152, 187, 27)
HSLhsl(73, 75%, 42%)
HSVhsv(73, 86%, 73%)
CMYKcmyk(18.7%, 0%, 85.6%, 26.7%)
CIE-LABlab(71.07, -31.45, 67.88)
CIE-LCHlch(71.07, 74.81, 114.86°)
OKLaboklab(74% -0.0932 0.1466)
OKLCHoklch(74% 0.174 122.5)
XYZxyz(30.9176, 42.2951, 7.5716)
Luminance0.4229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BB1B #3E1BBB
analogous
#BB8E1B #98BB1B #48BB1B
triadic
#98BB1B #1B98BB #BB1B98
tetradic
#98BB1B #1BBB8E #3E1BBB #BB1B48
square
#98BB1B #1BBB8E #3E1BBB #BB1B48
split-complementary
#98BB1B #1B48BB #8E1BBB
monochromatic
#41500C #6D8613 #98BB1B #BBE132 #CDE967

Accessibility & contrast

On white

2.22
#98BB1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#98BB1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BB1B
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BB1B#FFFFFF#000000##000000
##98BB1B1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#C2AE2F
Tritanopia (blue-blind)
#A1B19F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98bb1b;
/* rgb */ color: rgb(152, 187, 27);
/* oklch */ color: oklch(74.0% 0.174 122.5);
Tailwind
colors: {
  custom: {
    50: '#bbcf6a',
    500: '#98bb1b',
    950: '#000000',
  },
}
SCSS
$custom: #98bb1b;
$custom-light: #bbcf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#98bb1b",
  "rgb": {
    "r": 152,
    "g": 187,
    "b": 27
  },
  "hsl": {
    "h": 73.125,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.73998,
    "c": 0.17377,
    "h": 122.5
  },
  "luminance": 0.42295
}

Semantic roles & 50–950 ramp

primary
#98BB1B
secondary
#7B63CE
accent
#36F15F
background
#FBFCF6
surface
#F7F9EC
border
#D0D2C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98BB1B

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

Preview Lab → · Contrast checker → · Palette generator →

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