#98AB1C#98AB1C

#98AB1C is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.3% C 0.156 H 117.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#98AB1C
RGBrgb(152, 171, 28)
HSLhsl(68, 72%, 39%)
HSVhsv(68, 84%, 67%)
CMYKcmyk(11.1%, 0%, 83.6%, 32.9%)
CIE-LABlab(66.43, -23.72, 63.70)
CIE-LCHlch(66.43, 67.98, 110.43°)
OKLaboklab(70.25% -0.0721 0.1378)
OKLCHoklch(70.25% 0.156 117.6)
XYZxyz(27.7221, 35.8854, 6.5646)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AB1C #2F1CAB
analogous
#AB771C #98AB1C #51AB1C
triadic
#98AB1C #1C98AB #AB1C98
tetradic
#98AB1C #1CAB77 #2F1CAB #AB1C51
square
#98AB1C #1CAB77 #2F1CAB #AB1C51
split-complementary
#98AB1C #1C51AB #771CAB
monochromatic
#3B420B #697613 #98AB1C #C4DC28 #D2E45D

Accessibility & contrast

On white

2.57
#98AB1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#98AB1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AB1C
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AB1C#FFFFFF#000000##000000
##98AB1C1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B5A22C
Tritanopia (blue-blind)
#A2A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98ab1c;
/* rgb */ color: rgb(152, 171, 28);
/* oklch */ color: oklch(70.3% 0.156 117.6);
Tailwind
colors: {
  custom: {
    50: '#bac368',
    500: '#98ab1c',
    950: '#000000',
  },
}
SCSS
$custom: #98ab1c;
$custom-light: #bac368;
$custom-dark: #000000;
JSON
{
  "hex": "#98ab1c",
  "rgb": {
    "r": 152,
    "g": 171,
    "b": 28
  },
  "hsl": {
    "h": 67.972,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.70254,
    "c": 0.15551,
    "h": 117.6
  },
  "luminance": 0.35885
}

Semantic roles & 50–950 ramp

primary
#98AB1C
secondary
#695AC9
accent
#39EF51
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98AB1C

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

Preview Lab → · Contrast checker → · Palette generator →

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