#98BC2F#98BC2F

#98BC2F is a light, vivid yellow-green. Relative luminance 0.428; OKLCH L 74.3% C 0.166 H 123.3°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#98BC2F
RGBrgb(152, 188, 47)
HSLhsl(75, 60%, 46%)
HSVhsv(75, 75%, 74%)
CMYKcmyk(19.1%, 0%, 75%, 26.3%)
CIE-LABlab(71.45, -31.13, 62.69)
CIE-LCHlch(71.45, 69.99, 116.41°)
OKLaboklab(74.33% -0.091 0.1388)
OKLCHoklch(74.33% 0.166 123.3)
XYZxyz(31.4456, 42.8469, 9.3024)
Luminance0.4285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BC2F #532FBC
analogous
#BC992F #98BC2F #51BC2F
triadic
#98BC2F #2F98BC #BC2F98
tetradic
#98BC2F #2FBC99 #532FBC #BC2F51
square
#98BC2F #2FBC99 #532FBC #BC2F51
split-complementary
#98BC2F #2F51BC #992FBC
monochromatic
#495A17 #708B23 #98BC2F #B3D454 #C9E085

Accessibility & contrast

On white

2.19
#98BC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#98BC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BC2F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BC2F#FFFFFF#000000##000000
##98BC2F1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B00E
Deuteranopia (green-blind)
#C2AF3C
Tritanopia (blue-blind)
#A0B2A1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #98bc2f;
/* rgb */ color: rgb(152, 188, 47);
/* oklch */ color: oklch(74.3% 0.166 123.3);
Tailwind
colors: {
  custom: {
    50: '#bad072',
    500: '#98bc2f',
    950: '#000000',
  },
}
SCSS
$custom: #98bc2f;
$custom-light: #bad072;
$custom-dark: #000000;
JSON
{
  "hex": "#98bc2f",
  "rgb": {
    "r": 152,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 75.319,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7433,
    "c": 0.166,
    "h": 123.3
  },
  "luminance": 0.42847
}

Semantic roles & 50–950 ramp

primary
#98BC2F
secondary
#917DCA
accent
#45E36D
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121409
muted
#81827B

Preview Lab

Preview with #98BC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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