#98BC1B#98BC1B

#98BC1B is a light, vivid yellow-green. Relative luminance 0.427; OKLCH L 74.2% C 0.175 H 122.7°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#98BC1B
RGBrgb(152, 188, 27)
HSLhsl(73, 75%, 42%)
HSVhsv(73, 86%, 74%)
CMYKcmyk(19.1%, 0%, 85.6%, 26.3%)
CIE-LABlab(71.37, -31.92, 68.13)
CIE-LCHlch(71.37, 75.23, 115.10°)
OKLaboklab(74.23% -0.0945 0.1472)
OKLCHoklch(74.23% 0.175 122.7)
XYZxyz(31.1304, 42.7208, 7.6426)
Luminance0.4272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BC1B #3F1BBC
analogous
#BC901B #98BC1B #48BC1B
triadic
#98BC1B #1B98BC #BC1B98
tetradic
#98BC1B #1BBC90 #3F1BBC #BC1B48
square
#98BC1B #1BBC90 #3F1BBC #BC1B48
split-complementary
#98BC1B #1B48BC #901BBC
monochromatic
#41510C #6D8613 #98BC1B #BAE233 #CCE968

Accessibility & contrast

On white

2.20
#98BC1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#98BC1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BC1B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BC1B#FFFFFF#000000##000000
##98BC1B1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C3AF2F
Tritanopia (blue-blind)
#A0B2A0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #98bc1b;
/* rgb */ color: rgb(152, 188, 27);
/* oklch */ color: oklch(74.2% 0.175 122.7);
Tailwind
colors: {
  custom: {
    50: '#bbd06a',
    500: '#98bc1b',
    950: '#000000',
  },
}
SCSS
$custom: #98bc1b;
$custom-light: #bbd06a;
$custom-dark: #000000;
JSON
{
  "hex": "#98bc1b",
  "rgb": {
    "r": 152,
    "g": 188,
    "b": 27
  },
  "hsl": {
    "h": 73.416,
    "s": 74.884,
    "l": 42.157
  },
  "oklch": {
    "l": 0.74233,
    "c": 0.1749,
    "h": 122.7
  },
  "luminance": 0.42721
}

Semantic roles & 50–950 ramp

primary
#98BC1B
secondary
#7C64CF
accent
#36F260
background
#FBFCF6
surface
#F7F9EC
border
#D0D2C7
text
#121407
muted
#81827A

Preview Lab

Preview with #98BC1B

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

Preview Lab → · Contrast checker → · Palette generator →

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