#98BB1D#98BB1D

#98BB1D 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#98BB1D
RGBrgb(152, 187, 29)
HSLhsl(73, 73%, 42%)
HSVhsv(73, 84%, 73%)
CMYKcmyk(18.7%, 0%, 84.5%, 26.7%)
CIE-LABlab(71.08, -31.39, 67.44)
CIE-LCHlch(71.08, 74.39, 114.96°)
OKLaboklab(74.01% -0.093 0.146)
OKLCHoklch(74.01% 0.173 122.5)
XYZxyz(30.9415, 42.3046, 7.6977)
Luminance0.4230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BB1D #401DBB
analogous
#BB8F1D #98BB1D #49BB1D
triadic
#98BB1D #1D98BB #BB1D98
tetradic
#98BB1D #1DBB8F #401DBB #BB1D49
square
#98BB1D #1DBB8F #401DBB #BB1D49
split-complementary
#98BB1D #1D49BB #8F1DBB
monochromatic
#42510D #6D8615 #98BB1D #BAE035 #CCE86A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98BB1D#FFFFFF#000000##000000
##98BB1D1.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)
#C2AE30
Tritanopia (blue-blind)
#A0B19F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98bb1d;
/* rgb */ color: rgb(152, 187, 29);
/* oklch */ color: oklch(74.0% 0.173 122.5);
Tailwind
colors: {
  custom: {
    50: '#bbcf6b',
    500: '#98bb1d',
    950: '#000000',
  },
}
SCSS
$custom: #98bb1d;
$custom-light: #bbcf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#98bb1d",
  "rgb": {
    "r": 152,
    "g": 187,
    "b": 29
  },
  "hsl": {
    "h": 73.291,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.74005,
    "c": 0.17307,
    "h": 122.5
  },
  "luminance": 0.42305
}

Semantic roles & 50–950 ramp

primary
#98BB1D
secondary
#7D66CE
accent
#38F061
background
#FBFCF6
surface
#F7F9EC
border
#D0D2C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98BB1D

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

Preview Lab → · Contrast checker → · Palette generator →

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