#98AC26#98AC26

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

Color values

HEX#98AC26
RGBrgb(152, 172, 38)
HSLhsl(69, 64%, 41%)
HSVhsv(69, 78%, 67%)
CMYKcmyk(11.6%, 0%, 77.9%, 32.5%)
CIE-LABlab(66.76, -23.84, 61.20)
CIE-LCHlch(66.76, 65.68, 111.29°)
OKLaboklab(70.53% -0.0717 0.1342)
OKLCHoklch(70.53% 0.152 118.1)
XYZxyz(28.0519, 36.3207, 7.3662)
Luminance0.3632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AC26 #3A26AC
analogous
#AC7D26 #98AC26 #55AC26
triadic
#98AC26 #2698AC #AC2698
tetradic
#98AC26 #26AC7D #3A26AC #AC2655
square
#98AC26 #26AC7D #3A26AC #AC2655
split-complementary
#98AC26 #2655AC #7D26AC
monochromatic
#3F4810 #6C7A1B #98AC26 #BDD43B #CEDF6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #98ac26;
/* rgb */ color: rgb(152, 172, 38);
/* oklch */ color: oklch(70.5% 0.152 118.1);
Tailwind
colors: {
  custom: {
    50: '#bac46c',
    500: '#98ac26',
    950: '#000000',
  },
}
SCSS
$custom: #98ac26;
$custom-light: #bac46c;
$custom-dark: #000000;
JSON
{
  "hex": "#98ac26",
  "rgb": {
    "r": 152,
    "g": 172,
    "b": 38
  },
  "hsl": {
    "h": 68.955,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70534,
    "c": 0.15214,
    "h": 118.1
  },
  "luminance": 0.3632
}

Semantic roles & 50–950 ramp

primary
#98AC26
secondary
#7668C5
accent
#41E75A
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AC26

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

Preview Lab → · Contrast checker → · Palette generator →

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