#98BB2F#98BB2F

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

Color values

HEX#98BB2F
RGBrgb(152, 187, 47)
HSLhsl(75, 60%, 46%)
HSVhsv(75, 75%, 73%)
CMYKcmyk(18.7%, 0%, 74.9%, 26.7%)
CIE-LABlab(71.16, -30.66, 62.41)
CIE-LCHlch(71.16, 69.54, 116.16°)
OKLaboklab(74.1% -0.0897 0.1382)
OKLCHoklch(74.1% 0.165 123)
XYZxyz(31.2327, 42.4211, 9.2314)
Luminance0.4242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BB2F #522FBB
analogous
#BB982F #98BB2F #52BB2F
triadic
#98BB2F #2F98BB #BB2F98
tetradic
#98BB2F #2FBB98 #522FBB #BB2F52
square
#98BB2F #2FBB98 #522FBB #BB2F52
split-complementary
#98BB2F #2F52BB #982FBB
monochromatic
#485916 #708A23 #98BB2F #B4D453 #C9E084

Accessibility & contrast

On white

2.21
#98BB2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##98BB2F#FFFFFF#000000##000000
##98BB2F1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98bb2f;
/* rgb */ color: rgb(152, 187, 47);
/* oklch */ color: oklch(74.1% 0.165 123.0);
Tailwind
colors: {
  custom: {
    50: '#bacf72',
    500: '#98bb2f',
    950: '#000000',
  },
}
SCSS
$custom: #98bb2f;
$custom-light: #bacf72;
$custom-dark: #000000;
JSON
{
  "hex": "#98bb2f",
  "rgb": {
    "r": 152,
    "g": 187,
    "b": 47
  },
  "hsl": {
    "h": 75,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74095,
    "c": 0.16481,
    "h": 123
  },
  "luminance": 0.42421
}

Semantic roles & 50–950 ramp

primary
#98BB2F
secondary
#907CC9
accent
#45E36C
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98BB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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