#98AC32#98AC32

#98AC32 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.6% C 0.145 H 118.4°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#98AC32
RGBrgb(152, 172, 50)
HSLhsl(70, 55%, 44%)
HSVhsv(70, 71%, 67%)
CMYKcmyk(11.6%, 0%, 70.9%, 32.5%)
CIE-LABlab(66.83, -23.25, 57.15)
CIE-LCHlch(66.83, 61.70, 112.14°)
OKLaboklab(70.61% -0.0691 0.1277)
OKLCHoklch(70.61% 0.145 118.4)
XYZxyz(28.2777, 36.4110, 8.5553)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AC32 #4632AC
analogous
#AC8332 #98AC32 #5BAC32
triadic
#98AC32 #3298AC #AC3298
tetradic
#98AC32 #32AC83 #4632AC #AC325B
square
#98AC32 #32AC83 #4632AC #AC325B
split-complementary
#98AC32 #325BAC #8332AC
monochromatic
#444D16 #6E7D24 #98AC32 #B7CC4F #CBDA7F

Accessibility & contrast

On white

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

On black

8.28
#98AC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AC32
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AC32#FFFFFF#000000##000000
##98AC321.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21D
Deuteranopia (green-blind)
#B5A33C
Tritanopia (blue-blind)
#A1A394
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #98ac32;
/* rgb */ color: rgb(152, 172, 50);
/* oklch */ color: oklch(70.6% 0.145 118.4);
Tailwind
colors: {
  custom: {
    50: '#b9c472',
    500: '#98ac32',
    950: '#000000',
  },
}
SCSS
$custom: #98ac32;
$custom-light: #b9c472;
$custom-dark: #000000;
JSON
{
  "hex": "#98ac32",
  "rgb": {
    "r": 152,
    "g": 172,
    "b": 50
  },
  "hsl": {
    "h": 69.836,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70611,
    "c": 0.14515,
    "h": 118.4
  },
  "luminance": 0.36411
}

Semantic roles & 50–950 ramp

primary
#98AC32
secondary
#8477C3
accent
#4ADE62
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98AC32

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

Preview Lab → · Contrast checker → · Palette generator →

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