#98B332#98B332

#98B332 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.2% C 0.153 H 120.8°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#98B332
RGBrgb(152, 179, 50)
HSLhsl(73, 56%, 45%)
HSVhsv(73, 72%, 70%)
CMYKcmyk(15.1%, 0%, 72.1%, 29.8%)
CIE-LABlab(68.86, -26.68, 59.15)
CIE-LCHlch(68.86, 64.89, 114.28°)
OKLaboklab(72.24% -0.0785 0.1319)
OKLCHoklch(72.24% 0.153 120.8)
XYZxyz(29.6452, 39.1459, 9.0112)
Luminance0.3915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B332 #4D32B3
analogous
#B38D32 #98B332 #58B332
triadic
#98B332 #3298B3 #B33298
tetradic
#98B332 #32B38D #4D32B3 #B33258
square
#98B332 #32B38D #4D32B3 #B33258
split-complementary
#98B332 #3258B3 #8D32B3
monochromatic
#475317 #6F8325 #98B332 #B5CF53 #CADC83

Accessibility & contrast

On white

2.38
#98B332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#98B332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B332
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B332#FFFFFF#000000##000000
##98B3321.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81B
Deuteranopia (green-blind)
#BBA83D
Tritanopia (blue-blind)
#A0AA9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b332;
/* rgb */ color: rgb(152, 179, 50);
/* oklch */ color: oklch(72.2% 0.153 120.8);
Tailwind
colors: {
  custom: {
    50: '#bac973',
    500: '#98b332',
    950: '#000000',
  },
}
SCSS
$custom: #98b332;
$custom-light: #bac973;
$custom-dark: #000000;
JSON
{
  "hex": "#98b332",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 72.558,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72241,
    "c": 0.15348,
    "h": 120.8
  },
  "luminance": 0.39146
}

Semantic roles & 50–950 ramp

primary
#98B332
secondary
#8B7BC6
accent
#48E068
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B332

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

Preview Lab → · Contrast checker → · Palette generator →

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