#98AD26#98AD26

#98AD26 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.8% C 0.153 H 118.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#98AD26
RGBrgb(152, 173, 38)
HSLhsl(69, 64%, 41%)
HSVhsv(69, 78%, 68%)
CMYKcmyk(12.1%, 0%, 78%, 32.2%)
CIE-LABlab(67.05, -24.34, 61.47)
CIE-LCHlch(67.05, 66.11, 111.60°)
OKLaboklab(70.77% -0.0731 0.1347)
OKLCHoklch(70.77% 0.153 118.5)
XYZxyz(28.2430, 36.7027, 7.4298)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AD26 #3B26AD
analogous
#AD7F26 #98AD26 #55AD26
triadic
#98AD26 #2698AD #AD2698
tetradic
#98AD26 #26AD7F #3B26AD #AD2655
square
#98AD26 #26AD7F #3B26AD #AD2655
split-complementary
#98AD26 #2655AD #7F26AD
monochromatic
#404910 #6C7B1B #98AD26 #BDD43C #CEDF6E

Accessibility & contrast

On white

2.52
#98AD26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#98AD26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AD26
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AD26#FFFFFF#000000##000000
##98AD261.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B6A433
Tritanopia (blue-blind)
#A1A394
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #98ad26;
/* rgb */ color: rgb(152, 173, 38);
/* oklch */ color: oklch(70.8% 0.153 118.5);
Tailwind
colors: {
  custom: {
    50: '#bac56c',
    500: '#98ad26',
    950: '#000000',
  },
}
SCSS
$custom: #98ad26;
$custom-light: #bac56c;
$custom-dark: #000000;
JSON
{
  "hex": "#98ad26",
  "rgb": {
    "r": 152,
    "g": 173,
    "b": 38
  },
  "hsl": {
    "h": 69.333,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70767,
    "c": 0.15327,
    "h": 118.5
  },
  "luminance": 0.36702
}

Semantic roles & 50–950 ramp

primary
#98AD26
secondary
#7769C6
accent
#41E75B
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98AD26

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

Preview Lab → · Contrast checker → · Palette generator →

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