#98A016#98A016

#98A016 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.37:1 contrast (WCAG AA passes).

Color values

HEX#98A016
RGBrgb(152, 160, 22)
HSLhsl(63, 76%, 36%)
HSVhsv(63, 86%, 63%)
CMYKcmyk(5%, 0%, 86.3%, 37.3%)
CIE-LABlab(63.24, -18.37, 62.42)
CIE-LCHlch(63.24, 65.07, 106.40°)
OKLaboklab(67.68% -0.0578 0.134)
OKLCHoklch(67.68% 0.146 113.3)
XYZxyz(25.6654, 31.8755, 5.5595)
Luminance0.3187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A016 #1E16A0
analogous
#A06316 #98A016 #53A016
triadic
#98A016 #1698A0 #A01698
tetradic
#98A016 #16A063 #1E16A0 #A01653
square
#98A016 #16A063 #1E16A0 #A01653
split-complementary
#98A016 #1653A0 #6316A0
monochromatic
#323407 #656A0F #98A016 #CBD61D #DDE64A

Accessibility & contrast

On white

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

On black

7.37
#98A016 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A016
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A016#FFFFFF#000000##000000
##98A0161.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.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: #98a016;
/* rgb */ color: rgb(152, 160, 22);
/* oklch */ color: oklch(67.7% 0.146 113.3);
Tailwind
colors: {
  custom: {
    50: '#babb64',
    500: '#98a016',
    950: '#000000',
  },
}
SCSS
$custom: #98a016;
$custom-light: #babb64;
$custom-dark: #000000;
JSON
{
  "hex": "#98a016",
  "rgb": {
    "r": 152,
    "g": 160,
    "b": 22
  },
  "hsl": {
    "h": 63.478,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.67682,
    "c": 0.14594,
    "h": 113.3
  },
  "luminance": 0.31875
}

Semantic roles & 50–950 ramp

primary
#98A016
secondary
#514AC8
accent
#35F240
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #98A016

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

Preview Lab → · Contrast checker → · Palette generator →

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