#98B731#98B731

#98B731 is a light, vivid yellow-green. Relative luminance 0.408; OKLCH L 73.2% C 0.159 H 121.9°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#98B731
RGBrgb(152, 183, 49)
HSLhsl(74, 58%, 45%)
HSVhsv(74, 73%, 72%)
CMYKcmyk(16.9%, 0%, 73.2%, 28.2%)
CIE-LABlab(70.01, -28.66, 60.63)
CIE-LCHlch(70.01, 67.06, 115.30°)
OKLaboklab(73.17% -0.0841 0.1348)
OKLCHoklch(73.17% 0.159 121.9)
XYZxyz(30.4372, 40.7641, 9.1699)
Luminance0.4076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B731 #5031B7
analogous
#B79331 #98B731 #55B731
triadic
#98B731 #3198B7 #B73198
tetradic
#98B731 #31B793 #5031B7 #B73155
square
#98B731 #31B793 #5031B7 #B73155
split-complementary
#98B731 #3155B7 #9331B7
monochromatic
#485617 #708724 #98B731 #B4D154 #C9DE84

Accessibility & contrast

On white

2.29
#98B731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#98B731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B731
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B731#FFFFFF#000000##000000
##98B7311.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC17
Deuteranopia (green-blind)
#BEAB3D
Tritanopia (blue-blind)
#A0AE9D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #98b731;
/* rgb */ color: rgb(152, 183, 49);
/* oklch */ color: oklch(73.2% 0.159 121.9);
Tailwind
colors: {
  custom: {
    50: '#bacc73',
    500: '#98b731',
    950: '#000000',
  },
}
SCSS
$custom: #98b731;
$custom-light: #bacc73;
$custom-dark: #000000;
JSON
{
  "hex": "#98b731",
  "rgb": {
    "r": 152,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 73.881,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7317,
    "c": 0.15888,
    "h": 121.9
  },
  "luminance": 0.40764
}

Semantic roles & 50–950 ramp

primary
#98B731
secondary
#8E7CC8
accent
#47E16A
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B731

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

Preview Lab → · Contrast checker → · Palette generator →

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