#98B328#98B328

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

Color values

HEX#98B328
RGBrgb(152, 179, 40)
HSLhsl(72, 63%, 43%)
HSVhsv(72, 78%, 70%)
CMYKcmyk(15.1%, 0%, 77.7%, 29.8%)
CIE-LABlab(68.80, -27.17, 62.45)
CIE-LCHlch(68.80, 68.11, 113.51°)
OKLaboklab(72.18% -0.0807 0.1372)
OKLCHoklch(72.18% 0.159 120.5)
XYZxyz(29.4526, 39.0689, 7.9965)
Luminance0.3907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B328 #4328B3
analogous
#B38928 #98B328 #52B328
triadic
#98B328 #2898B3 #B32898
tetradic
#98B328 #28B389 #4328B3 #B32852
square
#98B328 #28B389 #4328B3 #B32852
split-complementary
#98B328 #2852B3 #8928B3
monochromatic
#434F12 #6E811D #98B328 #B9D543 #CBE075

Accessibility & contrast

On white

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

On black

8.81
#98B328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B328
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B328#FFFFFF#000000##000000
##98B3281.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#A1A999
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b328;
/* rgb */ color: rgb(152, 179, 40);
/* oklch */ color: oklch(72.2% 0.159 120.5);
Tailwind
colors: {
  custom: {
    50: '#bac96e',
    500: '#98b328',
    950: '#000000',
  },
}
SCSS
$custom: #98b328;
$custom-light: #bac96e;
$custom-dark: #000000;
JSON
{
  "hex": "#98b328",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 40
  },
  "hsl": {
    "h": 71.655,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72179,
    "c": 0.15915,
    "h": 120.5
  },
  "luminance": 0.39069
}

Semantic roles & 50–950 ramp

primary
#98B328
secondary
#806FC8
accent
#41E661
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B328

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

Preview Lab → · Contrast checker → · Palette generator →

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