#98AD28#98AD28

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

Color values

HEX#98AD28
RGBrgb(152, 173, 40)
HSLhsl(69, 62%, 42%)
HSVhsv(69, 77%, 68%)
CMYKcmyk(12.1%, 0%, 76.9%, 32.2%)
CIE-LABlab(67.06, -24.25, 60.85)
CIE-LCHlch(67.06, 65.50, 111.73°)
OKLaboklab(70.78% -0.0727 0.1338)
OKLCHoklch(70.78% 0.152 118.5)
XYZxyz(28.2761, 36.7160, 7.6044)
Luminance0.3672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AD28 #3D28AD
analogous
#AD8028 #98AD28 #56AD28
triadic
#98AD28 #2898AD #AD2898
tetradic
#98AD28 #28AD80 #3D28AD #AD2856
square
#98AD28 #28AD80 #3D28AD #AD2856
split-complementary
#98AD28 #2856AD #8028AD
monochromatic
#414A11 #6C7B1D #98AD28 #BBD33F #CDDE71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AD28#FFFFFF#000000##000000
##98AD281.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)
#B9A303
Deuteranopia (green-blind)
#B6A434
Tritanopia (blue-blind)
#A1A394
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #98ad28;
/* rgb */ color: rgb(152, 173, 40);
/* oklch */ color: oklch(70.8% 0.152 118.5);
Tailwind
colors: {
  custom: {
    50: '#bac56d',
    500: '#98ad28',
    950: '#000000',
  },
}
SCSS
$custom: #98ad28;
$custom-light: #bac56d;
$custom-dark: #000000;
JSON
{
  "hex": "#98ad28",
  "rgb": {
    "r": 152,
    "g": 173,
    "b": 40
  },
  "hsl": {
    "h": 69.474,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70778,
    "c": 0.15224,
    "h": 118.5
  },
  "luminance": 0.36716
}

Semantic roles & 50–950 ramp

primary
#98AD28
secondary
#7A6CC5
accent
#42E65C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98AD28

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

Preview Lab → · Contrast checker → · Palette generator →

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