#98AE25#98AE25

#98AE25 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.0% C 0.155 H 118.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#98AE25
RGBrgb(152, 174, 37)
HSLhsl(70, 65%, 41%)
HSVhsv(70, 79%, 68%)
CMYKcmyk(12.6%, 0%, 78.7%, 31.8%)
CIE-LABlab(67.34, -24.87, 62.03)
CIE-LCHlch(67.34, 66.83, 111.85°)
OKLaboklab(70.99% -0.0746 0.1357)
OKLCHoklch(70.99% 0.155 118.8)
XYZxyz(28.4195, 37.0813, 7.4102)
Luminance0.3708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AE25 #3B25AE
analogous
#AE8025 #98AE25 #54AE25
triadic
#98AE25 #2598AE #AE2598
tetradic
#98AE25 #25AE80 #3B25AE #AE2554
square
#98AE25 #25AE80 #3B25AE #AE2554
split-complementary
#98AE25 #2554AE #8025AE
monochromatic
#404910 #6C7C1A #98AE25 #BDD53B #CEE06D

Accessibility & contrast

On white

2.50
#98AE25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#98AE25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AE25
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AE25#FFFFFF#000000##000000
##98AE251.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#A1A495
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #98ae25;
/* rgb */ color: rgb(152, 174, 37);
/* oklch */ color: oklch(71.0% 0.155 118.8);
Tailwind
colors: {
  custom: {
    50: '#bac66c',
    500: '#98ae25',
    950: '#000000',
  },
}
SCSS
$custom: #98ae25;
$custom-light: #bac66c;
$custom-dark: #000000;
JSON
{
  "hex": "#98ae25",
  "rgb": {
    "r": 152,
    "g": 174,
    "b": 37
  },
  "hsl": {
    "h": 69.635,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70995,
    "c": 0.15491,
    "h": 118.8
  },
  "luminance": 0.37081
}

Semantic roles & 50–950 ramp

primary
#98AE25
secondary
#7768C6
accent
#40E85B
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98AE25

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

Preview Lab → · Contrast checker → · Palette generator →

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