#98B336#98B336

#98B336 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 72.3% C 0.151 H 120.9°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#98B336
RGBrgb(152, 179, 54)
HSLhsl(73, 54%, 46%)
HSVhsv(73, 70%, 70%)
CMYKcmyk(15.1%, 0%, 69.8%, 29.8%)
CIE-LABlab(68.88, -26.45, 57.69)
CIE-LCHlch(68.88, 63.46, 114.63°)
OKLaboklab(72.27% -0.0775 0.1294)
OKLCHoklch(72.27% 0.151 120.9)
XYZxyz(29.7353, 39.1820, 9.4857)
Luminance0.3918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B336 #5136B3
analogous
#B38F36 #98B336 #59B336
triadic
#98B336 #3698B3 #B33698
tetradic
#98B336 #36B38F #5136B3 #B33659
square
#98B336 #36B38F #5136B3 #B33659
split-complementary
#98B336 #3659B3 #8F36B3
monochromatic
#48551A #708428 #98B336 #B4CD59 #C9DB88

Accessibility & contrast

On white

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

On black

8.84
#98B336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B336
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B336#FFFFFF#000000##000000
##98B3361.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98b336;
/* rgb */ color: rgb(152, 179, 54);
/* oklch */ color: oklch(72.3% 0.151 120.9);
Tailwind
colors: {
  custom: {
    50: '#b9c975',
    500: '#98b336',
    950: '#000000',
  },
}
SCSS
$custom: #98b336;
$custom-light: #b9c975;
$custom-dark: #000000;
JSON
{
  "hex": "#98b336",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 72.96,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72271,
    "c": 0.15088,
    "h": 120.9
  },
  "luminance": 0.39182
}

Semantic roles & 50–950 ramp

primary
#98B336
secondary
#8F80C5
accent
#4BDD6A
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B336

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

Preview Lab → · Contrast checker → · Palette generator →

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