#98AC1D#98AC1D

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

Color values

HEX#98AC1D
RGBrgb(152, 172, 29)
HSLhsl(68, 71%, 39%)
HSVhsv(68, 83%, 67%)
CMYKcmyk(11.6%, 0%, 83.1%, 32.5%)
CIE-LABlab(66.73, -24.18, 63.70)
CIE-LCHlch(66.73, 68.14, 110.79°)
OKLaboklab(70.49% -0.0733 0.1379)
OKLCHoklch(70.49% 0.156 118)
XYZxyz(27.9239, 36.2694, 6.6918)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AC1D #311DAC
analogous
#AC791D #98AC1D #50AC1D
triadic
#98AC1D #1D98AC #AC1D98
tetradic
#98AC1D #1DAC79 #311DAC #AC1D50
square
#98AC1D #1DAC79 #311DAC #AC1D50
split-complementary
#98AC1D #1D50AC #791DAC
monochromatic
#3B430B #6A7814 #98AC1D #C3DB2B #D2E45F

Accessibility & contrast

On white

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

On black

8.25
#98AC1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AC1D
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AC1D#FFFFFF#000000##000000
##98AC1D1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98ac1d;
/* rgb */ color: rgb(152, 172, 29);
/* oklch */ color: oklch(70.5% 0.156 118.0);
Tailwind
colors: {
  custom: {
    50: '#bac468',
    500: '#98ac1d',
    950: '#000000',
  },
}
SCSS
$custom: #98ac1d;
$custom-light: #bac468;
$custom-dark: #000000;
JSON
{
  "hex": "#98ac1d",
  "rgb": {
    "r": 152,
    "g": 172,
    "b": 29
  },
  "hsl": {
    "h": 68.392,
    "s": 71.144,
    "l": 39.412
  },
  "oklch": {
    "l": 0.70491,
    "c": 0.15622,
    "h": 118
  },
  "luminance": 0.36269
}

Semantic roles & 50–950 ramp

primary
#98AC1D
secondary
#6B5CC8
accent
#3AEE53
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98AC1D

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

Preview Lab → · Contrast checker → · Palette generator →

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