#98AD23#98AD23

#98AD23 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.8% C 0.155 H 118.4°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#98AD23
RGBrgb(152, 173, 35)
HSLhsl(69, 66%, 41%)
HSVhsv(69, 80%, 68%)
CMYKcmyk(12.1%, 0%, 79.8%, 32.2%)
CIE-LABlab(67.04, -24.46, 62.35)
CIE-LCHlch(67.04, 66.98, 111.42°)
OKLaboklab(70.75% -0.0737 0.1361)
OKLCHoklch(70.75% 0.155 118.4)
XYZxyz(28.1965, 36.6841, 7.1851)
Luminance0.3668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AD23 #3823AD
analogous
#AD7D23 #98AD23 #53AD23
triadic
#98AD23 #2398AD #AD2398
tetradic
#98AD23 #23AD7D #3823AD #AD2353
square
#98AD23 #23AD7D #3823AD #AD2353
split-complementary
#98AD23 #2353AD #7D23AD
monochromatic
#3F470E #6B7A19 #98AD23 #BED637 #CFE16A

Accessibility & contrast

On white

2.52
#98AD23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#98AD23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AD23
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AD23#FFFFFF#000000##000000
##98AD231.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#A2A394
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #98ad23;
/* rgb */ color: rgb(152, 173, 35);
/* oklch */ color: oklch(70.8% 0.155 118.4);
Tailwind
colors: {
  custom: {
    50: '#bac56b',
    500: '#98ad23',
    950: '#000000',
  },
}
SCSS
$custom: #98ad23;
$custom-light: #bac56b;
$custom-dark: #000000;
JSON
{
  "hex": "#98ad23",
  "rgb": {
    "r": 152,
    "g": 173,
    "b": 35
  },
  "hsl": {
    "h": 69.13,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70751,
    "c": 0.15473,
    "h": 118.4
  },
  "luminance": 0.36684
}

Semantic roles & 50–950 ramp

primary
#98AD23
secondary
#7465C7
accent
#3FE959
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AD23

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

Preview Lab → · Contrast checker → · Palette generator →

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