#98BB2C#98BB2C

#98BB2C is a light, vivid yellow-green. Relative luminance 0.424; OKLCH L 74.1% C 0.166 H 122.9°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#98BB2C
RGBrgb(152, 187, 44)
HSLhsl(75, 62%, 45%)
HSVhsv(75, 76%, 73%)
CMYKcmyk(18.7%, 0%, 76.5%, 26.7%)
CIE-LABlab(71.14, -30.80, 63.37)
CIE-LCHlch(71.14, 70.46, 115.92°)
OKLaboklab(74.08% -0.0904 0.1398)
OKLCHoklch(74.08% 0.166 122.9)
XYZxyz(31.1743, 42.3977, 8.9236)
Luminance0.4240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BB2C #4F2CBB
analogous
#BB962C #98BB2C #51BB2C
triadic
#98BB2C #2C98BB #BB2C98
tetradic
#98BB2C #2CBB96 #4F2CBB #BB2C51
square
#98BB2C #2CBB96 #4F2CBB #BB2C51
split-complementary
#98BB2C #2C51BB #962CBB
monochromatic
#475815 #708920 #98BB2C #B5D64F #C9E180

Accessibility & contrast

On white

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

On black

9.48
#98BB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BB2C
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BB2C#FFFFFF#000000##000000
##98BB2C1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF05
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#A0B1A0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98bb2c;
/* rgb */ color: rgb(152, 187, 44);
/* oklch */ color: oklch(74.1% 0.166 122.9);
Tailwind
colors: {
  custom: {
    50: '#bacf71',
    500: '#98bb2c',
    950: '#000000',
  },
}
SCSS
$custom: #98bb2c;
$custom-light: #bacf71;
$custom-dark: #000000;
JSON
{
  "hex": "#98bb2c",
  "rgb": {
    "r": 152,
    "g": 187,
    "b": 44
  },
  "hsl": {
    "h": 74.685,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74077,
    "c": 0.16644,
    "h": 122.9
  },
  "luminance": 0.42398
}

Semantic roles & 50–950 ramp

primary
#98BB2C
secondary
#8D79CA
accent
#43E56B
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98BB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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