#98AC30#98AC30

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

Color values

HEX#98AC30
RGBrgb(152, 172, 48)
HSLhsl(70, 56%, 43%)
HSVhsv(70, 72%, 67%)
CMYKcmyk(11.6%, 0%, 72.1%, 32.5%)
CIE-LABlab(66.82, -23.36, 57.88)
CIE-LCHlch(66.82, 62.42, 111.98°)
OKLaboklab(70.6% -0.0695 0.1289)
OKLCHoklch(70.6% 0.146 118.4)
XYZxyz(28.2355, 36.3941, 8.3330)
Luminance0.3639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AC30 #4430AC
analogous
#AC8230 #98AC30 #5AAC30
triadic
#98AC30 #3098AC #AC3098
tetradic
#98AC30 #30AC82 #4430AC #AC305A
square
#98AC30 #30AC82 #4430AC #AC305A
split-complementary
#98AC30 #305AAC #8230AC
monochromatic
#434C15 #6E7C23 #98AC30 #B8CD4C #CBDA7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AC30#FFFFFF#000000##000000
##98AC301.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)
#B7A21A
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#A1A294
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #98ac30;
/* rgb */ color: rgb(152, 172, 48);
/* oklch */ color: oklch(70.6% 0.146 118.4);
Tailwind
colors: {
  custom: {
    50: '#bac471',
    500: '#98ac30',
    950: '#000000',
  },
}
SCSS
$custom: #98ac30;
$custom-light: #bac471;
$custom-dark: #000000;
JSON
{
  "hex": "#98ac30",
  "rgb": {
    "r": 152,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 69.677,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70597,
    "c": 0.14643,
    "h": 118.4
  },
  "luminance": 0.36394
}

Semantic roles & 50–950 ramp

primary
#98AC30
secondary
#8175C3
accent
#48E061
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98AC30

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

Preview Lab → · Contrast checker → · Palette generator →

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