#98BC2B#98BC2B

#98BC2B 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#98BC2B
RGBrgb(152, 188, 43)
HSLhsl(75, 63%, 45%)
HSVhsv(75, 77%, 74%)
CMYKcmyk(19.1%, 0%, 77.1%, 26.3%)
CIE-LABlab(71.43, -31.32, 63.95)
CIE-LCHlch(71.43, 71.21, 116.09°)
OKLaboklab(74.31% -0.0919 0.1408)
OKLCHoklch(74.31% 0.168 123.1)
XYZxyz(31.3686, 42.8161, 8.8968)
Luminance0.4282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BC2B #4F2BBC
analogous
#BC982B #98BC2B #4FBC2B
triadic
#98BC2B #2B98BC #BC2B98
tetradic
#98BC2B #2BBC98 #4F2BBC #BC2B4F
square
#98BC2B #2BBC98 #4F2BBC #BC2B4F
split-complementary
#98BC2B #2B4FBC #982BBC
monochromatic
#475814 #708A20 #98BC2B #B5D64E #C9E280

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98BC2B#FFFFFF#000000##000000
##98BC2B1.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)
#C7B000
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#A0B2A1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #98bc2b;
/* rgb */ color: rgb(152, 188, 43);
/* oklch */ color: oklch(74.3% 0.168 123.1);
Tailwind
colors: {
  custom: {
    50: '#bad070',
    500: '#98bc2b',
    950: '#000000',
  },
}
SCSS
$custom: #98bc2b;
$custom-light: #bad070;
$custom-dark: #000000;
JSON
{
  "hex": "#98bc2b",
  "rgb": {
    "r": 152,
    "g": 188,
    "b": 43
  },
  "hsl": {
    "h": 74.897,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74306,
    "c": 0.16814,
    "h": 123.1
  },
  "luminance": 0.42816
}

Semantic roles & 50–950 ramp

primary
#98BC2B
secondary
#8D78CB
accent
#42E66B
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121408
muted
#81827B

Preview Lab

Preview with #98BC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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