#98BC2C#98BC2C

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

Color values

HEX#98BC2C
RGBrgb(152, 188, 44)
HSLhsl(75, 62%, 45%)
HSVhsv(75, 77%, 74%)
CMYKcmyk(19.1%, 0%, 76.6%, 26.3%)
CIE-LABlab(71.44, -31.27, 63.65)
CIE-LCHlch(71.44, 70.92, 116.17°)
OKLaboklab(74.31% -0.0917 0.1403)
OKLCHoklch(74.31% 0.168 123.1)
XYZxyz(31.3871, 42.8235, 8.9946)
Luminance0.4282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BC2C #502CBC
analogous
#BC982C #98BC2C #50BC2C
triadic
#98BC2C #2C98BC #BC2C98
tetradic
#98BC2C #2CBC98 #502CBC #BC2C50
square
#98BC2C #2CBC98 #502CBC #BC2C50
split-complementary
#98BC2C #2C50BC #982CBC
monochromatic
#485915 #708A20 #98BC2C #B4D64F #C9E181

Accessibility & contrast

On white

2.20
#98BC2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#98BC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BC2C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BC2C#FFFFFF#000000##000000
##98BC2C1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98bc2c;
/* rgb */ color: rgb(152, 188, 44);
/* oklch */ color: oklch(74.3% 0.168 123.1);
Tailwind
colors: {
  custom: {
    50: '#bad071',
    500: '#98bc2c',
    950: '#000000',
  },
}
SCSS
$custom: #98bc2c;
$custom-light: #bad071;
$custom-dark: #000000;
JSON
{
  "hex": "#98bc2c",
  "rgb": {
    "r": 152,
    "g": 188,
    "b": 44
  },
  "hsl": {
    "h": 75,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74312,
    "c": 0.16762,
    "h": 123.1
  },
  "luminance": 0.42824
}

Semantic roles & 50–950 ramp

primary
#98BC2C
secondary
#8E79CA
accent
#43E56B
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121408
muted
#81827B

Preview Lab

Preview with #98BC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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