#98A298#98A298

#98A298 is a light, near-neutral grey. Relative luminance 0.348; OKLCH L 70.1% C 0.018 H 145.4°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#98A298
RGBrgb(152, 162, 152)
HSLhsl(120, 5%, 62%)
HSVhsv(120, 6%, 64%)
CMYKcmyk(6.2%, 0%, 6.2%, 36.5%)
CIE-LABlab(65.58, -5.49, 3.97)
CIE-LCHlch(65.58, 6.78, 144.10°)
OKLaboklab(70.12% -0.015 0.0104)
OKLCHoklch(70.12% 0.018 145.4)
XYZxyz(31.5357, 34.7828, 34.7520)
Luminance0.3478 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A298 #A298A2
analogous
#9DA298 #98A298 #98A29D
triadic
#98A298 #9898A2 #A29898
tetradic
#98A298 #989DA2 #A298A2 #A29D98
square
#98A298 #989DA2 #A298A2 #A29D98
split-complementary
#98A298 #9D98A2 #A2989D
monochromatic
#5B655B #788578 #98A298 #B8BFB8 #D8DCD8

Accessibility & contrast

On white

2.64
#98A298 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#98A298 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A298
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A298#FFFFFF#000000##000000
##98A2981.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3A097
Deuteranopia (green-blind)
#A19F98
Tritanopia (blue-blind)
#97A19F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a298;
/* rgb */ color: rgb(152, 162, 152);
/* oklch */ color: oklch(70.1% 0.018 145.4);
Tailwind
colors: {
  custom: {
    50: '#b6bdb6',
    500: '#98a298',
    950: '#000000',
  },
}
SCSS
$custom: #98a298;
$custom-light: #b6bdb6;
$custom-dark: #000000;
JSON
{
  "hex": "#98a298",
  "rgb": {
    "r": 152,
    "g": 162,
    "b": 152
  },
  "hsl": {
    "h": 120,
    "s": 5.102,
    "l": 61.569
  },
  "oklch": {
    "l": 0.70124,
    "c": 0.01829,
    "h": 145.4
  },
  "luminance": 0.34783
}

Semantic roles & 50–950 ramp

primary
#98A298
secondary
#CDC9CD
accent
#578F8F
background
#FBFBFB
surface
#F6F6F6
border
#D0D0D0
text
#111211
muted
#808180

Preview Lab

Preview with #98A298

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

Preview Lab → · Contrast checker → · Palette generator →

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