#98A118#98A118

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

Color values

HEX#98A118
RGBrgb(152, 161, 24)
HSLhsl(64, 74%, 36%)
HSVhsv(64, 85%, 63%)
CMYKcmyk(5.6%, 0%, 85.1%, 36.9%)
CIE-LABlab(63.53, -18.83, 62.21)
CIE-LCHlch(63.53, 65.00, 106.84°)
OKLaboklab(67.92% -0.0589 0.1339)
OKLCHoklch(67.92% 0.146 113.8)
XYZxyz(25.8595, 32.2316, 5.7231)
Luminance0.3223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A118 #2118A1
analogous
#A16618 #98A118 #54A118
triadic
#98A118 #1898A1 #A11898
tetradic
#98A118 #18A166 #2118A1 #A11854
square
#98A118 #18A166 #2118A1 #A11854
split-complementary
#98A118 #1854A1 #6618A1
monochromatic
#333608 #666C10 #98A118 #CAD620 #DBE54F

Accessibility & contrast

On white

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

On black

7.45
#98A118 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A118
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A118#FFFFFF#000000##000000
##98A1181.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98a118;
/* rgb */ color: rgb(152, 161, 24);
/* oklch */ color: oklch(67.9% 0.146 113.8);
Tailwind
colors: {
  custom: {
    50: '#babc65',
    500: '#98a118',
    950: '#000000',
  },
}
SCSS
$custom: #98a118;
$custom-light: #babc65;
$custom-dark: #000000;
JSON
{
  "hex": "#98a118",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 63.942,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6792,
    "c": 0.14628,
    "h": 113.8
  },
  "luminance": 0.32231
}

Semantic roles & 50–950 ramp

primary
#98A118
secondary
#564EC7
accent
#37F143
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #98A118

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

Preview Lab → · Contrast checker → · Palette generator →

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