#98AA25#98AA25

#98AA25 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.1% C 0.150 H 117.4°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#98AA25
RGBrgb(152, 170, 37)
HSLhsl(68, 64%, 41%)
HSVhsv(68, 78%, 67%)
CMYKcmyk(10.6%, 0%, 78.2%, 33.3%)
CIE-LABlab(66.18, -22.90, 60.98)
CIE-LCHlch(66.18, 65.14, 110.58°)
OKLaboklab(70.06% -0.0692 0.1335)
OKLCHoklch(70.06% 0.15 117.4)
XYZxyz(27.6582, 35.5587, 7.1564)
Luminance0.3556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AA25 #3725AA
analogous
#AA7925 #98AA25 #56AA25
triadic
#98AA25 #2598AA #AA2598
tetradic
#98AA25 #25AA79 #3725AA #AA2556
square
#98AA25 #25AA79 #3725AA #AA2556
split-complementary
#98AA25 #2556AA #7925AA
monochromatic
#3E450F #6B781A #98AA25 #BFD438 #CFDF6B

Accessibility & contrast

On white

2.59
#98AA25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#98AA25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AA25
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AA25#FFFFFF#000000##000000
##98AA251.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B4A232
Tritanopia (blue-blind)
#A2A091
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #98aa25;
/* rgb */ color: rgb(152, 170, 37);
/* oklch */ color: oklch(70.1% 0.150 117.4);
Tailwind
colors: {
  custom: {
    50: '#bac36b',
    500: '#98aa25',
    950: '#000000',
  },
}
SCSS
$custom: #98aa25;
$custom-light: #bac36b;
$custom-dark: #000000;
JSON
{
  "hex": "#98aa25",
  "rgb": {
    "r": 152,
    "g": 170,
    "b": 37
  },
  "hsl": {
    "h": 68.12,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70064,
    "c": 0.15038,
    "h": 117.4
  },
  "luminance": 0.35558
}

Semantic roles & 50–950 ramp

primary
#98AA25
secondary
#7366C5
accent
#41E757
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AA25

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

Preview Lab → · Contrast checker → · Palette generator →

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