#98AC20#98AC20

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

Color values

HEX#98AC20
RGBrgb(152, 172, 32)
HSLhsl(69, 69%, 40%)
HSVhsv(69, 81%, 67%)
CMYKcmyk(11.6%, 0%, 81.4%, 32.5%)
CIE-LABlab(66.74, -24.08, 62.93)
CIE-LCHlch(66.74, 67.38, 110.94°)
OKLaboklab(70.5% -0.0728 0.1368)
OKLCHoklch(70.5% 0.155 118)
XYZxyz(27.9628, 36.2850, 6.8968)
Luminance0.3629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AC20 #3420AC
analogous
#AC7A20 #98AC20 #52AC20
triadic
#98AC20 #2098AC #AC2098
tetradic
#98AC20 #20AC7A #3420AC #AC2052
square
#98AC20 #20AC7A #3420AC #AC2052
split-complementary
#98AC20 #2052AC #7A20AC
monochromatic
#3D450D #6A7816 #98AC20 #C1D931 #D0E264

Accessibility & contrast

On white

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

On black

8.26
#98AC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AC20
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AC20#FFFFFF#000000##000000
##98AC201.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#A2A293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ac20;
/* rgb */ color: rgb(152, 172, 32);
/* oklch */ color: oklch(70.5% 0.155 118.0);
Tailwind
colors: {
  custom: {
    50: '#bac46a',
    500: '#98ac20',
    950: '#000000',
  },
}
SCSS
$custom: #98ac20;
$custom-light: #bac46a;
$custom-dark: #000000;
JSON
{
  "hex": "#98ac20",
  "rgb": {
    "r": 152,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 68.571,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.70504,
    "c": 0.15496,
    "h": 118
  },
  "luminance": 0.36285
}

Semantic roles & 50–950 ramp

primary
#98AC20
secondary
#6F60C7
accent
#3CEB55
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AC20

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

Preview Lab → · Contrast checker → · Palette generator →

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