#98B031#98B031

#98B031 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.5% C 0.151 H 119.8°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#98B031
RGBrgb(152, 176, 49)
HSLhsl(71, 56%, 44%)
HSVhsv(71, 72%, 69%)
CMYKcmyk(13.6%, 0%, 72.2%, 31%)
CIE-LABlab(67.98, -25.27, 58.65)
CIE-LCHlch(67.98, 63.87, 113.31°)
OKLaboklab(71.54% -0.0747 0.1306)
OKLCHoklch(71.54% 0.151 119.8)
XYZxyz(29.0291, 37.9480, 8.7005)
Luminance0.3795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B031 #4931B0
analogous
#B08931 #98B031 #59B031
triadic
#98B031 #3198B0 #B03198
tetradic
#98B031 #31B089 #4931B0 #B03159
square
#98B031 #31B089 #4931B0 #B03159
split-complementary
#98B031 #3159B0 #8931B0
monochromatic
#455016 #6F8024 #98B031 #B6CE50 #CADC80

Accessibility & contrast

On white

2.44
#98B031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#98B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B031
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B031#FFFFFF#000000##000000
##98B0311.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61A
Deuteranopia (green-blind)
#B8A63C
Tritanopia (blue-blind)
#A1A797
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #98b031;
/* rgb */ color: rgb(152, 176, 49);
/* oklch */ color: oklch(71.5% 0.151 119.8);
Tailwind
colors: {
  custom: {
    50: '#bac772',
    500: '#98b031',
    950: '#000000',
  },
}
SCSS
$custom: #98b031;
$custom-light: #bac772;
$custom-dark: #000000;
JSON
{
  "hex": "#98b031",
  "rgb": {
    "r": 152,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 71.339,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71535,
    "c": 0.15052,
    "h": 119.8
  },
  "luminance": 0.37948
}

Semantic roles & 50–950 ramp

primary
#98B031
secondary
#8778C5
accent
#48E065
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B031

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

Preview Lab → · Contrast checker → · Palette generator →

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