#98B151#98B151

#98B151 is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 72.1% C 0.126 H 121.8°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#98B151
RGBrgb(152, 177, 81)
HSLhsl(76, 38%, 51%)
HSVhsv(76, 54%, 69%)
CMYKcmyk(14.1%, 0%, 54.2%, 30.6%)
CIE-LABlab(68.54, -23.39, 45.63)
CIE-LCHlch(68.54, 51.27, 117.14°)
OKLaboklab(72.07% -0.0664 0.1073)
OKLCHoklch(72.07% 0.126 121.8)
XYZxyz(30.1564, 38.7137, 13.6668)
Luminance0.3871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B151 #6A51B1
analogous
#B19A51 #98B151 #68B151
triadic
#98B151 #5198B1 #B15198
tetradic
#98B151 #51B19A #6A51B1 #B15168
square
#98B151 #51B19A #6A51B1 #B15168
split-complementary
#98B151 #5168B1 #9A51B1
monochromatic
#505E2A #74883D #98B151 #B1C47B #CAD7A6

Accessibility & contrast

On white

2.40
#98B151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#98B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B151
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B151#FFFFFF#000000##000000
##98B1511.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA848
Deuteranopia (green-blind)
#B7A757
Tritanopia (blue-blind)
#9FA99C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98b151;
/* rgb */ color: rgb(152, 177, 81);
/* oklch */ color: oklch(72.1% 0.126 121.8);
Tailwind
colors: {
  custom: {
    50: '#b8c885',
    500: '#98b151',
    950: '#000000',
  },
}
SCSS
$custom: #98b151;
$custom-light: #b8c885;
$custom-dark: #000000;
JSON
{
  "hex": "#98b151",
  "rgb": {
    "r": 152,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 75.625,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72074,
    "c": 0.12619,
    "h": 121.8
  },
  "luminance": 0.38714
}

Semantic roles & 50–950 ramp

primary
#98B151
secondary
#A59AC4
accent
#5ACE78
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #98B151

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

Preview Lab → · Contrast checker → · Palette generator →

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