#98B131#98B131

#98B131 is a light, vivid yellow-green. Relative luminance 0.383; OKLCH L 71.8% C 0.152 H 120.1°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#98B131
RGBrgb(152, 177, 49)
HSLhsl(72, 57%, 44%)
HSVhsv(72, 72%, 69%)
CMYKcmyk(14.1%, 0%, 72.3%, 30.6%)
CIE-LABlab(68.27, -25.76, 58.94)
CIE-LCHlch(68.27, 64.32, 113.61°)
OKLaboklab(71.77% -0.0761 0.1313)
OKLCHoklch(71.77% 0.152 120.1)
XYZxyz(29.2259, 38.3415, 8.7661)
Luminance0.3834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B131 #4A31B1
analogous
#B18A31 #98B131 #58B131
triadic
#98B131 #3198B1 #B13198
tetradic
#98B131 #31B18A #4A31B1 #B13158
square
#98B131 #31B18A #4A31B1 #B13158
split-complementary
#98B131 #3158B1 #8A31B1
monochromatic
#465116 #6F8124 #98B131 #B6CF51 #CADC80

Accessibility & contrast

On white

2.42
#98B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#98B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B131
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B131#FFFFFF#000000##000000
##98B1311.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA719
Deuteranopia (green-blind)
#B9A73C
Tritanopia (blue-blind)
#A1A898
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #98b131;
/* rgb */ color: rgb(152, 177, 49);
/* oklch */ color: oklch(71.8% 0.152 120.1);
Tailwind
colors: {
  custom: {
    50: '#bac872',
    500: '#98b131',
    950: '#000000',
  },
}
SCSS
$custom: #98b131;
$custom-light: #bac872;
$custom-dark: #000000;
JSON
{
  "hex": "#98b131",
  "rgb": {
    "r": 152,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 71.719,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71768,
    "c": 0.15172,
    "h": 120.1
  },
  "luminance": 0.38341
}

Semantic roles & 50–950 ramp

primary
#98B131
secondary
#8879C5
accent
#48E066
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B131

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

Preview Lab → · Contrast checker → · Palette generator →

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