#98B330#98B330

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

Color values

HEX#98B330
RGBrgb(152, 179, 48)
HSLhsl(72, 58%, 45%)
HSVhsv(72, 73%, 70%)
CMYKcmyk(15.1%, 0%, 73.2%, 29.8%)
CIE-LABlab(68.84, -26.79, 59.85)
CIE-LCHlch(68.84, 65.57, 114.11°)
OKLaboklab(72.23% -0.079 0.133)
OKLCHoklch(72.23% 0.155 120.7)
XYZxyz(29.6030, 39.1291, 8.7889)
Luminance0.3913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B330 #4B30B3
analogous
#B38C30 #98B330 #57B330
triadic
#98B330 #3098B3 #B33098
tetradic
#98B330 #30B38C #4B30B3 #B33057
square
#98B330 #30B38C #4B30B3 #B33057
split-complementary
#98B330 #3057B3 #8C30B3
monochromatic
#465216 #6F8323 #98B330 #B6D050 #CADD80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98B330#FFFFFF#000000##000000
##98B3301.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)
#BEA816
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#A1A99A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b330;
/* rgb */ color: rgb(152, 179, 48);
/* oklch */ color: oklch(72.2% 0.155 120.7);
Tailwind
colors: {
  custom: {
    50: '#bac972',
    500: '#98b330',
    950: '#000000',
  },
}
SCSS
$custom: #98b330;
$custom-light: #bac972;
$custom-dark: #000000;
JSON
{
  "hex": "#98b330",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 72.366,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72228,
    "c": 0.15471,
    "h": 120.7
  },
  "luminance": 0.39129
}

Semantic roles & 50–950 ramp

primary
#98B330
secondary
#8979C6
accent
#47E167
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B330

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

Preview Lab → · Contrast checker → · Palette generator →

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