#98AE22#98AE22

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

Color values

HEX#98AE22
RGBrgb(152, 174, 34)
HSLhsl(69, 67%, 41%)
HSVhsv(69, 80%, 68%)
CMYKcmyk(12.6%, 0%, 80.5%, 31.8%)
CIE-LABlab(67.32, -24.99, 62.89)
CIE-LCHlch(67.32, 67.67, 111.67°)
OKLaboklab(70.98% -0.0752 0.1371)
OKLCHoklch(70.98% 0.156 118.7)
XYZxyz(28.3743, 37.0632, 7.1722)
Luminance0.3706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AE22 #3822AE
analogous
#AE7E22 #98AE22 #52AE22
triadic
#98AE22 #2298AE #AE2298
tetradic
#98AE22 #22AE7E #3822AE #AE2252
square
#98AE22 #22AE7E #3822AE #AE2252
split-complementary
#98AE22 #2252AE #7E22AE
monochromatic
#3F480E #6B7B18 #98AE22 #BED836 #CFE269

Accessibility & contrast

On white

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

On black

8.41
#98AE22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AE22
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AE22#FFFFFF#000000##000000
##98AE221.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98ae22;
/* rgb */ color: rgb(152, 174, 34);
/* oklch */ color: oklch(71.0% 0.156 118.7);
Tailwind
colors: {
  custom: {
    50: '#bac66b',
    500: '#98ae22',
    950: '#000000',
  },
}
SCSS
$custom: #98ae22;
$custom-light: #bac66b;
$custom-dark: #000000;
JSON
{
  "hex": "#98ae22",
  "rgb": {
    "r": 152,
    "g": 174,
    "b": 34
  },
  "hsl": {
    "h": 69.429,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.7098,
    "c": 0.15632,
    "h": 118.7
  },
  "luminance": 0.37063
}

Semantic roles & 50–950 ramp

primary
#98AE22
secondary
#7464C7
accent
#3EEA59
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98AE22

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

Preview Lab → · Contrast checker → · Palette generator →

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