#98A91C#98A91C

#98A91C is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.8% C 0.153 H 116.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#98A91C
RGBrgb(152, 169, 28)
HSLhsl(67, 72%, 39%)
HSVhsv(67, 83%, 66%)
CMYKcmyk(10.1%, 0%, 83.4%, 33.7%)
CIE-LABlab(65.85, -22.73, 63.21)
CIE-LCHlch(65.85, 67.17, 109.78°)
OKLaboklab(69.79% -0.0694 0.1367)
OKLCHoklch(69.79% 0.153 116.9)
XYZxyz(27.3472, 35.1355, 6.4396)
Luminance0.3513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A91C #2D1CA9
analogous
#A9731C #98A91C #51A91C
triadic
#98A91C #1C98A9 #A91C98
tetradic
#98A91C #1CA973 #2D1CA9 #A91C51
square
#98A91C #1CA973 #2D1CA9 #A91C51
split-complementary
#98A91C #1C51A9 #731CA9
monochromatic
#3A400B #697413 #98A91C #C5DB27 #D3E45B

Accessibility & contrast

On white

2.62
#98A91C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#98A91C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A91C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A91C#FFFFFF#000000##000000
##98A91C1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B4A12B
Tritanopia (blue-blind)
#A29F90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #98a91c;
/* rgb */ color: rgb(152, 169, 28);
/* oklch */ color: oklch(69.8% 0.153 116.9);
Tailwind
colors: {
  custom: {
    50: '#bac268',
    500: '#98a91c',
    950: '#000000',
  },
}
SCSS
$custom: #98a91c;
$custom-light: #bac268;
$custom-dark: #000000;
JSON
{
  "hex": "#98a91c",
  "rgb": {
    "r": 152,
    "g": 169,
    "b": 28
  },
  "hsl": {
    "h": 67.234,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69788,
    "c": 0.15332,
    "h": 116.9
  },
  "luminance": 0.35135
}

Semantic roles & 50–950 ramp

primary
#98A91C
secondary
#6659C8
accent
#39EE4F
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98A91C

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

Preview Lab → · Contrast checker → · Palette generator →

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