#98B333#98B333

#98B333 is a light, vivid yellow-green. Relative luminance 0.392; 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#98B333
RGBrgb(152, 179, 51)
HSLhsl(73, 56%, 45%)
HSVhsv(73, 72%, 70%)
CMYKcmyk(15.1%, 0%, 71.5%, 29.8%)
CIE-LABlab(68.86, -26.62, 58.79)
CIE-LCHlch(68.86, 64.54, 114.36°)
OKLaboklab(72.25% -0.0783 0.1313)
OKLCHoklch(72.25% 0.153 120.8)
XYZxyz(29.6670, 39.1547, 9.1260)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B333 #4E33B3
analogous
#B38E33 #98B333 #58B333
triadic
#98B333 #3398B3 #B33398
tetradic
#98B333 #33B38E #4E33B3 #B33358
square
#98B333 #33B38E #4E33B3 #B33358
split-complementary
#98B333 #3358B3 #8E33B3
monochromatic
#475418 #708325 #98B333 #B5CE55 #CADC84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98B333#FFFFFF#000000##000000
##98B3331.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)
#BEA81C
Deuteranopia (green-blind)
#BBA83E
Tritanopia (blue-blind)
#A0AA9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b333;
/* rgb */ color: rgb(152, 179, 51);
/* oklch */ color: oklch(72.2% 0.153 120.8);
Tailwind
colors: {
  custom: {
    50: '#bac973',
    500: '#98b333',
    950: '#000000',
  },
}
SCSS
$custom: #98b333;
$custom-light: #bac973;
$custom-dark: #000000;
JSON
{
  "hex": "#98b333",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 51
  },
  "hsl": {
    "h": 72.656,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72248,
    "c": 0.15284,
    "h": 120.8
  },
  "luminance": 0.39155
}

Semantic roles & 50–950 ramp

primary
#98B333
secondary
#8C7CC6
accent
#49DF69
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B333

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

Preview Lab → · Contrast checker → · Palette generator →

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