#98B754#98B754

#98B754 is a light, vivid yellow-green. Relative luminance 0.412; OKLCH L 73.5% C 0.131 H 124.0°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#98B754
RGBrgb(152, 183, 84)
HSLhsl(79, 41%, 52%)
HSVhsv(79, 54%, 72%)
CMYKcmyk(16.9%, 0%, 54.1%, 28.2%)
CIE-LABlab(70.30, -26.05, 46.25)
CIE-LCHlch(70.30, 53.08, 119.38°)
OKLaboklab(73.5% -0.0736 0.1089)
OKLCHoklch(73.5% 0.131 124)
XYZxyz(31.4827, 41.1823, 14.6762)
Luminance0.4118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B754 #7354B7
analogous
#B7A554 #98B754 #66B754
triadic
#98B754 #5498B7 #B75498
tetradic
#98B754 #54B7A5 #7354B7 #B75466
square
#98B754 #54B7A5 #7354B7 #B75466
split-complementary
#98B754 #5466B7 #A554B7
monochromatic
#53662B #77913D #98B754 #B2C97F #CCDBAA

Accessibility & contrast

On white

2.27
#98B754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#98B754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B754
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B754#FFFFFF#000000##000000
##98B7541.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4A
Deuteranopia (green-blind)
#BCAC5A
Tritanopia (blue-blind)
#9EAFA1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #98b754;
/* rgb */ color: rgb(152, 183, 84);
/* oklch */ color: oklch(73.5% 0.131 124.0);
Tailwind
colors: {
  custom: {
    50: '#b8cc87',
    500: '#98b754',
    950: '#000000',
  },
}
SCSS
$custom: #98b754;
$custom-light: #b8cc87;
$custom-dark: #000000;
JSON
{
  "hex": "#98b754",
  "rgb": {
    "r": 152,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 78.788,
    "s": 40.741,
    "l": 52.353
  },
  "oklch": {
    "l": 0.735,
    "c": 0.13146,
    "h": 124
  },
  "luminance": 0.41182
}

Semantic roles & 50–950 ramp

primary
#98B754
secondary
#AB9EC9
accent
#57D17D
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #98B754

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

Preview Lab → · Contrast checker → · Palette generator →

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