#98B132#98B132

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

Color values

HEX#98B132
RGBrgb(152, 177, 50)
HSLhsl(72, 56%, 45%)
HSVhsv(72, 72%, 69%)
CMYKcmyk(14.1%, 0%, 71.8%, 30.6%)
CIE-LABlab(68.28, -25.71, 58.58)
CIE-LCHlch(68.28, 63.97, 113.69°)
OKLaboklab(71.78% -0.0759 0.1307)
OKLCHoklch(71.78% 0.151 120.1)
XYZxyz(29.2473, 38.3501, 8.8785)
Luminance0.3835 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B132 #4B32B1
analogous
#B18B32 #98B132 #59B132
triadic
#98B132 #3298B1 #B13298
tetradic
#98B132 #32B18B #4B32B1 #B13259
square
#98B132 #32B18B #4B32B1 #B13259
split-complementary
#98B132 #3259B1 #8B32B1
monochromatic
#465217 #6F8125 #98B132 #B6CE52 #CADC82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98B132#FFFFFF#000000##000000
##98B1321.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)
#BCA71B
Deuteranopia (green-blind)
#B9A73D
Tritanopia (blue-blind)
#A1A898
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #98b132;
/* rgb */ color: rgb(152, 177, 50);
/* oklch */ color: oklch(71.8% 0.151 120.1);
Tailwind
colors: {
  custom: {
    50: '#bac872',
    500: '#98b132',
    950: '#000000',
  },
}
SCSS
$custom: #98b132;
$custom-light: #bac872;
$custom-dark: #000000;
JSON
{
  "hex": "#98b132",
  "rgb": {
    "r": 152,
    "g": 177,
    "b": 50
  },
  "hsl": {
    "h": 71.811,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71775,
    "c": 0.15109,
    "h": 120.1
  },
  "luminance": 0.3835
}

Semantic roles & 50–950 ramp

primary
#98B132
secondary
#897AC5
accent
#49DF66
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B132

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

Preview Lab → · Contrast checker → · Palette generator →

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