#98A116#98A116

#98A116 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 67.9% C 0.147 H 113.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#98A116
RGBrgb(152, 161, 22)
HSLhsl(64, 76%, 36%)
HSVhsv(64, 86%, 63%)
CMYKcmyk(5.6%, 0%, 86.3%, 36.9%)
CIE-LABlab(63.53, -18.88, 62.66)
CIE-LCHlch(63.53, 65.45, 106.77°)
OKLaboklab(67.91% -0.0592 0.1345)
OKLCHoklch(67.91% 0.147 113.8)
XYZxyz(25.8395, 32.2236, 5.6175)
Luminance0.3222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A116 #1F16A1
analogous
#A16416 #98A116 #52A116
triadic
#98A116 #1698A1 #A11698
tetradic
#98A116 #16A164 #1F16A1 #A11652
square
#98A116 #16A164 #1F16A1 #A11652
split-complementary
#98A116 #1652A1 #6416A1
monochromatic
#323507 #656B0F #98A116 #CBD71D #DCE64B

Accessibility & contrast

On white

2.82
#98A116 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#98A116 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A116
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A116#FFFFFF#000000##000000
##98A1161.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AD9B26
Tritanopia (blue-blind)
#A39789
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #98a116;
/* rgb */ color: rgb(152, 161, 22);
/* oklch */ color: oklch(67.9% 0.147 113.8);
Tailwind
colors: {
  custom: {
    50: '#babc64',
    500: '#98a116',
    950: '#000000',
  },
}
SCSS
$custom: #98a116;
$custom-light: #babc64;
$custom-dark: #000000;
JSON
{
  "hex": "#98a116",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 22
  },
  "hsl": {
    "h": 63.885,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.67913,
    "c": 0.14698,
    "h": 113.8
  },
  "luminance": 0.32223
}

Semantic roles & 50–950 ramp

primary
#98A116
secondary
#534BC8
accent
#35F342
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #98A116

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

Preview Lab → · Contrast checker → · Palette generator →

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