#98BB1C#98BB1C

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

Color values

HEX#98BB1C
RGBrgb(152, 187, 28)
HSLhsl(73, 74%, 42%)
HSVhsv(73, 85%, 73%)
CMYKcmyk(18.7%, 0%, 85%, 26.7%)
CIE-LABlab(71.08, -31.42, 67.66)
CIE-LCHlch(71.08, 74.60, 114.91°)
OKLaboklab(74% -0.0931 0.1463)
OKLCHoklch(74% 0.173 122.5)
XYZxyz(30.9293, 42.2998, 7.6336)
Luminance0.4230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BB1C #3F1CBB
analogous
#BB8F1C #98BB1C #48BB1C
triadic
#98BB1C #1C98BB #BB1C98
tetradic
#98BB1C #1CBB8F #3F1CBB #BB1C48
square
#98BB1C #1CBB8F #3F1CBB #BB1C48
split-complementary
#98BB1C #1C48BB #8F1CBB
monochromatic
#41510C #6D8614 #98BB1C #BAE134 #CCE969

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98BB1C#FFFFFF#000000##000000
##98BB1C1.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: #98bb1c;
/* rgb */ color: rgb(152, 187, 28);
/* oklch */ color: oklch(74.0% 0.173 122.5);
Tailwind
colors: {
  custom: {
    50: '#bbcf6a',
    500: '#98bb1c',
    950: '#000000',
  },
}
SCSS
$custom: #98bb1c;
$custom-light: #bbcf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#98bb1c",
  "rgb": {
    "r": 152,
    "g": 187,
    "b": 28
  },
  "hsl": {
    "h": 73.208,
    "s": 73.953,
    "l": 42.157
  },
  "oklch": {
    "l": 0.74001,
    "c": 0.17342,
    "h": 122.5
  },
  "luminance": 0.423
}

Semantic roles & 50–950 ramp

primary
#98BB1C
secondary
#7C65CE
accent
#37F160
background
#FBFCF6
surface
#F7F9EC
border
#D0D2C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98BB1C

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

Preview Lab → · Contrast checker → · Palette generator →

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