#98B451#98B451

#98B451 is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.8% C 0.130 H 122.8°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#98B451
RGBrgb(152, 180, 81)
HSLhsl(77, 40%, 51%)
HSVhsv(77, 55%, 71%)
CMYKcmyk(15.6%, 0%, 55%, 29.4%)
CIE-LABlab(69.41, -24.87, 46.63)
CIE-LCHlch(69.41, 52.85, 118.07°)
OKLaboklab(72.77% -0.0706 0.1095)
OKLCHoklch(72.77% 0.13 122.8)
XYZxyz(30.7555, 39.9119, 13.8665)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B451 #6D51B4
analogous
#B49E51 #98B451 #66B451
triadic
#98B451 #5198B4 #B45198
tetradic
#98B451 #51B49E #6D51B4 #B45166
square
#98B451 #51B49E #6D51B4 #B45166
split-complementary
#98B451 #5166B4 #9E51B4
monochromatic
#51612A #758C3C #98B451 #B1C67C #CBD9A7

Accessibility & contrast

On white

2.34
#98B451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#98B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B451
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B451#FFFFFF#000000##000000
##98B4511.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA47
Deuteranopia (green-blind)
#BAA957
Tritanopia (blue-blind)
#9FAC9E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98b451;
/* rgb */ color: rgb(152, 180, 81);
/* oklch */ color: oklch(72.8% 0.130 122.8);
Tailwind
colors: {
  custom: {
    50: '#b8ca85',
    500: '#98b451',
    950: '#000000',
  },
}
SCSS
$custom: #98b451;
$custom-light: #b8ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#98b451",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 76.97,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72768,
    "c": 0.13024,
    "h": 122.8
  },
  "luminance": 0.39912
}

Semantic roles & 50–950 ramp

primary
#98B451
secondary
#A79BC6
accent
#58D07A
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #98B451

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

Preview Lab → · Contrast checker → · Palette generator →

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