#98AB25#98AB25

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

Color values

HEX#98AB25
RGBrgb(152, 171, 37)
HSLhsl(69, 64%, 41%)
HSVhsv(69, 78%, 67%)
CMYKcmyk(11.1%, 0%, 78.4%, 32.9%)
CIE-LABlab(66.47, -23.39, 61.24)
CIE-LCHlch(66.47, 65.56, 110.91°)
OKLaboklab(70.3% -0.0706 0.1341)
OKLCHoklch(70.3% 0.152 117.8)
XYZxyz(27.8464, 35.9351, 7.2191)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AB25 #3825AB
analogous
#AB7B25 #98AB25 #55AB25
triadic
#98AB25 #2598AB #AB2598
tetradic
#98AB25 #25AB7B #3825AB #AB2555
square
#98AB25 #25AB7B #3825AB #AB2555
split-complementary
#98AB25 #2555AB #7B25AB
monochromatic
#3F460F #6B791A #98AB25 #BED439 #CFDF6B

Accessibility & contrast

On white

2.57
#98AB25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AB25#FFFFFF#000000##000000
##98AB251.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98ab25;
/* rgb */ color: rgb(152, 171, 37);
/* oklch */ color: oklch(70.3% 0.151 117.8);
Tailwind
colors: {
  custom: {
    50: '#bac36c',
    500: '#98ab25',
    950: '#000000',
  },
}
SCSS
$custom: #98ab25;
$custom-light: #bac36c;
$custom-dark: #000000;
JSON
{
  "hex": "#98ab25",
  "rgb": {
    "r": 152,
    "g": 171,
    "b": 37
  },
  "hsl": {
    "h": 68.507,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70296,
    "c": 0.1515,
    "h": 117.8
  },
  "luminance": 0.35935
}

Semantic roles & 50–950 ramp

primary
#98AB25
secondary
#7467C5
accent
#40E758
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AB25

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

Preview Lab → · Contrast checker → · Palette generator →

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