#98A017#98A017

#98A017 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.7% C 0.146 H 113.3°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#98A017
RGBrgb(152, 160, 23)
HSLhsl(64, 75%, 36%)
HSVhsv(64, 86%, 63%)
CMYKcmyk(5%, 0%, 85.6%, 37.3%)
CIE-LABlab(63.24, -18.35, 62.20)
CIE-LCHlch(63.24, 64.85, 106.44°)
OKLaboklab(67.69% -0.0577 0.1337)
OKLCHoklch(67.69% 0.146 113.3)
XYZxyz(25.6752, 31.8795, 5.6113)
Luminance0.3188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A017 #1F17A0
analogous
#A06317 #98A017 #53A017
triadic
#98A017 #1798A0 #A01798
tetradic
#98A017 #17A063 #1F17A0 #A01753
square
#98A017 #17A063 #1F17A0 #A01753
split-complementary
#98A017 #1753A0 #6317A0
monochromatic
#323508 #656A0F #98A017 #CBD61F #DCE54C

Accessibility & contrast

On white

2.85
#98A017 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#98A017 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A017
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A017#FFFFFF#000000##000000
##98A0171.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AD9A26
Tritanopia (blue-blind)
#A39688
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #98a017;
/* rgb */ color: rgb(152, 160, 23);
/* oklch */ color: oklch(67.7% 0.146 113.3);
Tailwind
colors: {
  custom: {
    50: '#babb65',
    500: '#98a017',
    950: '#000000',
  },
}
SCSS
$custom: #98a017;
$custom-light: #babb65;
$custom-dark: #000000;
JSON
{
  "hex": "#98a017",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 63.504,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.67686,
    "c": 0.14559,
    "h": 113.3
  },
  "luminance": 0.31879
}

Semantic roles & 50–950 ramp

primary
#98A017
secondary
#534CC7
accent
#36F141
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #98A017

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

Preview Lab → · Contrast checker → · Palette generator →

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