#98AC23#98AC23

#98AC23 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.5% C 0.154 H 118.1°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#98AC23
RGBrgb(152, 172, 35)
HSLhsl(69, 66%, 41%)
HSVhsv(69, 80%, 67%)
CMYKcmyk(11.6%, 0%, 79.7%, 32.5%)
CIE-LABlab(66.75, -23.97, 62.09)
CIE-LCHlch(66.75, 66.56, 111.11°)
OKLaboklab(70.52% -0.0723 0.1355)
OKLCHoklch(70.52% 0.154 118.1)
XYZxyz(28.0055, 36.3021, 7.1215)
Luminance0.3630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AC23 #3723AC
analogous
#AC7B23 #98AC23 #53AC23
triadic
#98AC23 #2398AC #AC2398
tetradic
#98AC23 #23AC7B #3723AC #AC2353
square
#98AC23 #23AC7B #3723AC #AC2353
split-complementary
#98AC23 #2353AC #7B23AC
monochromatic
#3E460E #6B7919 #98AC23 #BFD636 #CFE069

Accessibility & contrast

On white

2.54
#98AC23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#98AC23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AC23
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AC23#FFFFFF#000000##000000
##98AC231.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B6A331
Tritanopia (blue-blind)
#A2A293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ac23;
/* rgb */ color: rgb(152, 172, 35);
/* oklch */ color: oklch(70.5% 0.154 118.1);
Tailwind
colors: {
  custom: {
    50: '#bac46b',
    500: '#98ac23',
    950: '#000000',
  },
}
SCSS
$custom: #98ac23;
$custom-light: #bac46b;
$custom-dark: #000000;
JSON
{
  "hex": "#98ac23",
  "rgb": {
    "r": 152,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 68.759,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70519,
    "c": 0.1536,
    "h": 118.1
  },
  "luminance": 0.36302
}

Semantic roles & 50–950 ramp

primary
#98AC23
secondary
#7364C6
accent
#3FE958
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AC23

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

Preview Lab → · Contrast checker → · Palette generator →

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