#98AC1E#98AC1E

#98AC1E 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#98AC1E
RGBrgb(152, 172, 30)
HSLhsl(68, 70%, 40%)
HSVhsv(68, 83%, 67%)
CMYKcmyk(11.6%, 0%, 82.6%, 32.5%)
CIE-LABlab(66.73, -24.15, 63.45)
CIE-LCHlch(66.73, 67.89, 110.84°)
OKLaboklab(70.49% -0.0732 0.1376)
OKLCHoklch(70.49% 0.156 118)
XYZxyz(27.9365, 36.2745, 6.7580)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AC1E #321EAC
analogous
#AC791E #98AC1E #51AC1E
triadic
#98AC1E #1E98AC #AC1E98
tetradic
#98AC1E #1EAC79 #321EAC #AC1E51
square
#98AC1E #1EAC79 #321EAC #AC1E51
split-complementary
#98AC1E #1E51AC #791EAC
monochromatic
#3C440C #6A7815 #98AC1E #C2DA2D #D1E361

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AC1E#FFFFFF#000000##000000
##98AC1E1.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: #98ac1e;
/* rgb */ color: rgb(152, 172, 30);
/* oklch */ color: oklch(70.5% 0.156 118.0);
Tailwind
colors: {
  custom: {
    50: '#bac469',
    500: '#98ac1e',
    950: '#000000',
  },
}
SCSS
$custom: #98ac1e;
$custom-light: #bac469;
$custom-dark: #000000;
JSON
{
  "hex": "#98ac1e",
  "rgb": {
    "r": 152,
    "g": 172,
    "b": 30
  },
  "hsl": {
    "h": 68.451,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70495,
    "c": 0.15581,
    "h": 118
  },
  "luminance": 0.36274
}

Semantic roles & 50–950 ramp

primary
#98AC1E
secondary
#6D5EC8
accent
#3BED54
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98AC1E

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

Preview Lab → · Contrast checker → · Palette generator →

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