#98AB28#98AB28

#98AB28 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.3% C 0.150 H 117.8°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#98AB28
RGBrgb(152, 171, 40)
HSLhsl(69, 62%, 41%)
HSVhsv(69, 77%, 67%)
CMYKcmyk(11.1%, 0%, 76.6%, 32.9%)
CIE-LABlab(66.49, -23.26, 60.31)
CIE-LCHlch(66.49, 64.64, 111.09°)
OKLaboklab(70.31% -0.07 0.1326)
OKLCHoklch(70.31% 0.15 117.8)
XYZxyz(27.8955, 35.9547, 7.4775)
Luminance0.3595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AB28 #3B28AB
analogous
#AB7D28 #98AB28 #57AB28
triadic
#98AB28 #2898AB #AB2898
tetradic
#98AB28 #28AB7D #3B28AB #AB2857
square
#98AB28 #28AB7D #3B28AB #AB2857
split-complementary
#98AB28 #2857AB #7D28AB
monochromatic
#404811 #6C791C #98AB28 #BDD23E #CEDE70

Accessibility & contrast

On white

2.56
#98AB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#98AB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AB28
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AB28#FFFFFF#000000##000000
##98AB281.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A105
Deuteranopia (green-blind)
#B5A234
Tritanopia (blue-blind)
#A2A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ab28;
/* rgb */ color: rgb(152, 171, 40);
/* oklch */ color: oklch(70.3% 0.150 117.8);
Tailwind
colors: {
  custom: {
    50: '#bac36d',
    500: '#98ab28',
    950: '#000000',
  },
}
SCSS
$custom: #98ab28;
$custom-light: #bac36d;
$custom-dark: #000000;
JSON
{
  "hex": "#98ab28",
  "rgb": {
    "r": 152,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 68.702,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70313,
    "c": 0.14995,
    "h": 117.8
  },
  "luminance": 0.35954
}

Semantic roles & 50–950 ramp

primary
#98AB28
secondary
#776AC4
accent
#43E55A
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98AB28

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

Preview Lab → · Contrast checker → · Palette generator →

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