#98AC28#98AC28

#98AC28 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.5% C 0.151 H 118.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#98AC28
RGBrgb(152, 172, 40)
HSLhsl(69, 62%, 42%)
HSVhsv(69, 77%, 67%)
CMYKcmyk(11.6%, 0%, 76.7%, 32.5%)
CIE-LABlab(66.77, -23.76, 60.58)
CIE-LCHlch(66.77, 65.07, 111.41°)
OKLaboklab(70.55% -0.0713 0.1332)
OKLCHoklch(70.55% 0.151 118.2)
XYZxyz(28.0851, 36.3339, 7.5407)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AC28 #3C28AC
analogous
#AC7E28 #98AC28 #56AC28
triadic
#98AC28 #2898AC #AC2898
tetradic
#98AC28 #28AC7E #3C28AC #AC2856
square
#98AC28 #28AC7E #3C28AC #AC2856
split-complementary
#98AC28 #2856AC #7E28AC
monochromatic
#404911 #6C7A1C #98AC28 #BCD23F #CDDE71

Accessibility & contrast

On white

2.54
#98AC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#98AC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AC28
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AC28#FFFFFF#000000##000000
##98AC281.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A204
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#A1A293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ac28;
/* rgb */ color: rgb(152, 172, 40);
/* oklch */ color: oklch(70.5% 0.151 118.2);
Tailwind
colors: {
  custom: {
    50: '#bac46d',
    500: '#98ac28',
    950: '#000000',
  },
}
SCSS
$custom: #98ac28;
$custom-light: #bac46d;
$custom-dark: #000000;
JSON
{
  "hex": "#98ac28",
  "rgb": {
    "r": 152,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 69.091,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70546,
    "c": 0.15109,
    "h": 118.2
  },
  "luminance": 0.36334
}

Semantic roles & 50–950 ramp

primary
#98AC28
secondary
#796BC5
accent
#42E55B
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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