#98B628#98B628

#98B628 is a light, vivid yellow-green. Relative luminance 0.403; OKLCH L 72.9% C 0.163 H 121.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#98B628
RGBrgb(152, 182, 40)
HSLhsl(73, 64%, 44%)
HSVhsv(73, 78%, 71%)
CMYKcmyk(16.5%, 0%, 78%, 28.6%)
CIE-LABlab(69.67, -28.61, 63.25)
CIE-LCHlch(69.67, 69.42, 114.34°)
OKLaboklab(72.88% -0.0847 0.1388)
OKLCHoklch(72.88% 0.163 121.4)
XYZxyz(30.0604, 40.2845, 8.1991)
Luminance0.4028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B628 #4628B6
analogous
#B68D28 #98B628 #51B628
triadic
#98B628 #2898B6 #B62898
tetradic
#98B628 #28B68D #4628B6 #B62851
square
#98B628 #28B68D #4628B6 #B62851
split-complementary
#98B628 #2851B6 #8D28B6
monochromatic
#445212 #6E841D #98B628 #B7D645 #CBE177

Accessibility & contrast

On white

2.32
#98B628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#98B628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B628
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B628#FFFFFF#000000##000000
##98B6281.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#BEAA36
Tritanopia (blue-blind)
#A1AC9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #98b628;
/* rgb */ color: rgb(152, 182, 40);
/* oklch */ color: oklch(72.9% 0.163 121.4);
Tailwind
colors: {
  custom: {
    50: '#bacc6e',
    500: '#98b628',
    950: '#000000',
  },
}
SCSS
$custom: #98b628;
$custom-light: #bacc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#98b628",
  "rgb": {
    "r": 152,
    "g": 182,
    "b": 40
  },
  "hsl": {
    "h": 72.676,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72881,
    "c": 0.16263,
    "h": 121.4
  },
  "luminance": 0.40284
}

Semantic roles & 50–950 ramp

primary
#98B628
secondary
#8471C9
accent
#41E764
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B628

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

Preview Lab → · Contrast checker → · Palette generator →

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