#98BB1A#98BB1A

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

Color values

HEX#98BB1A
RGBrgb(152, 187, 26)
HSLhsl(73, 76%, 42%)
HSVhsv(73, 86%, 73%)
CMYKcmyk(18.7%, 0%, 86.1%, 26.7%)
CIE-LABlab(71.07, -31.48, 68.09)
CIE-LCHlch(71.07, 75.02, 114.81°)
OKLaboklab(73.99% -0.0934 0.1469)
OKLCHoklch(73.99% 0.174 122.4)
XYZxyz(30.9062, 42.2905, 7.5118)
Luminance0.4229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BB1A #3D1ABB
analogous
#BB8D1A #98BB1A #48BB1A
triadic
#98BB1A #1A98BB #BB1A98
tetradic
#98BB1A #1ABB8D #3D1ABB #BB1A48
square
#98BB1A #1ABB8D #3D1ABB #BB1A48
split-complementary
#98BB1A #1A48BB #8D1ABB
monochromatic
#41500B #6C8513 #98BB1A #BBE230 #CDEA66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98BB1A#FFFFFF#000000##000000
##98BB1A1.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)
#C2AE2E
Tritanopia (blue-blind)
#A1B19F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98bb1a;
/* rgb */ color: rgb(152, 187, 26);
/* oklch */ color: oklch(74.0% 0.174 122.4);
Tailwind
colors: {
  custom: {
    50: '#bbcf6a',
    500: '#98bb1a',
    950: '#000000',
  },
}
SCSS
$custom: #98bb1a;
$custom-light: #bbcf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#98bb1a",
  "rgb": {
    "r": 152,
    "g": 187,
    "b": 26
  },
  "hsl": {
    "h": 73.043,
    "s": 75.587,
    "l": 41.765
  },
  "oklch": {
    "l": 0.73994,
    "c": 0.1741,
    "h": 122.4
  },
  "luminance": 0.42291
}

Semantic roles & 50–950 ramp

primary
#98BB1A
secondary
#7A62CF
accent
#36F25F
background
#FCFCF6
surface
#F8F9EC
border
#D1D2C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98BB1A

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

Preview Lab → · Contrast checker → · Palette generator →

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