#98AE23#98AE23

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

Color values

HEX#98AE23
RGBrgb(152, 174, 35)
HSLhsl(69, 67%, 41%)
HSVhsv(69, 80%, 68%)
CMYKcmyk(12.6%, 0%, 79.9%, 31.8%)
CIE-LABlab(67.33, -24.95, 62.61)
CIE-LCHlch(67.33, 67.40, 111.73°)
OKLaboklab(70.98% -0.075 0.1366)
OKLCHoklch(70.98% 0.156 118.8)
XYZxyz(28.3890, 37.0691, 7.2493)
Luminance0.3707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AE23 #3923AE
analogous
#AE7E23 #98AE23 #53AE23
triadic
#98AE23 #2398AE #AE2398
tetradic
#98AE23 #23AE7E #3923AE #AE2353
square
#98AE23 #23AE7E #3923AE #AE2353
split-complementary
#98AE23 #2353AE #7E23AE
monochromatic
#3F480F #6B7B19 #98AE23 #BED737 #CEE16A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AE23#FFFFFF#000000##000000
##98AE231.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)
#B7A431
Tritanopia (blue-blind)
#A1A495
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #98ae23;
/* rgb */ color: rgb(152, 174, 35);
/* oklch */ color: oklch(71.0% 0.156 118.8);
Tailwind
colors: {
  custom: {
    50: '#bac66b',
    500: '#98ae23',
    950: '#000000',
  },
}
SCSS
$custom: #98ae23;
$custom-light: #bac66b;
$custom-dark: #000000;
JSON
{
  "hex": "#98ae23",
  "rgb": {
    "r": 152,
    "g": 174,
    "b": 35
  },
  "hsl": {
    "h": 69.496,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70984,
    "c": 0.15586,
    "h": 118.8
  },
  "luminance": 0.37069
}

Semantic roles & 50–950 ramp

primary
#98AE23
secondary
#7566C7
accent
#3EE959
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98AE23

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

Preview Lab → · Contrast checker → · Palette generator →

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