#98AC25#98AC25

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

Color values

HEX#98AC25
RGBrgb(152, 172, 37)
HSLhsl(69, 65%, 41%)
HSVhsv(69, 78%, 67%)
CMYKcmyk(11.6%, 0%, 78.5%, 32.5%)
CIE-LABlab(66.76, -23.89, 61.51)
CIE-LCHlch(66.76, 65.98, 111.22°)
OKLaboklab(70.53% -0.0719 0.1346)
OKLCHoklch(70.53% 0.153 118.1)
XYZxyz(28.0360, 36.3143, 7.2823)
Luminance0.3631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AC25 #3925AC
analogous
#AC7C25 #98AC25 #54AC25
triadic
#98AC25 #2598AC #AC2598
tetradic
#98AC25 #25AC7C #3925AC #AC2554
square
#98AC25 #25AC7C #3925AC #AC2554
split-complementary
#98AC25 #2554AC #7C25AC
monochromatic
#3F470F #6B7A1A #98AC25 #BED53A #CEDF6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AC25#FFFFFF#000000##000000
##98AC251.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)
#B6A332
Tritanopia (blue-blind)
#A2A293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ac25;
/* rgb */ color: rgb(152, 172, 37);
/* oklch */ color: oklch(70.5% 0.153 118.1);
Tailwind
colors: {
  custom: {
    50: '#bac46c',
    500: '#98ac25',
    950: '#000000',
  },
}
SCSS
$custom: #98ac25;
$custom-light: #bac46c;
$custom-dark: #000000;
JSON
{
  "hex": "#98ac25",
  "rgb": {
    "r": 152,
    "g": 172,
    "b": 37
  },
  "hsl": {
    "h": 68.889,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70529,
    "c": 0.15263,
    "h": 118.1
  },
  "luminance": 0.36314
}

Semantic roles & 50–950 ramp

primary
#98AC25
secondary
#7567C6
accent
#40E859
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AC25

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

Preview Lab → · Contrast checker → · Palette generator →

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