#98A117#98A117

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

Color values

HEX#98A117
RGBrgb(152, 161, 23)
HSLhsl(64, 75%, 36%)
HSVhsv(64, 86%, 63%)
CMYKcmyk(5.6%, 0%, 85.7%, 36.9%)
CIE-LABlab(63.53, -18.86, 62.44)
CIE-LCHlch(63.53, 65.22, 106.81°)
OKLaboklab(67.92% -0.0591 0.1342)
OKLCHoklch(67.92% 0.147 113.8)
XYZxyz(25.8493, 32.2276, 5.6693)
Luminance0.3223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A117 #2017A1
analogous
#A16517 #98A117 #53A117
triadic
#98A117 #1798A1 #A11798
tetradic
#98A117 #17A165 #2017A1 #A11753
square
#98A117 #17A165 #2017A1 #A11753
split-complementary
#98A117 #1753A1 #6517A1
monochromatic
#333608 #656B0F #98A117 #CBD71F #DCE64D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A117#FFFFFF#000000##000000
##98A1171.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: #98a117;
/* rgb */ color: rgb(152, 161, 23);
/* oklch */ color: oklch(67.9% 0.147 113.8);
Tailwind
colors: {
  custom: {
    50: '#babc65',
    500: '#98a117',
    950: '#000000',
  },
}
SCSS
$custom: #98a117;
$custom-light: #babc65;
$custom-dark: #000000;
JSON
{
  "hex": "#98a117",
  "rgb": {
    "r": 152,
    "g": 161,
    "b": 23
  },
  "hsl": {
    "h": 63.913,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.67917,
    "c": 0.14663,
    "h": 113.8
  },
  "luminance": 0.32227
}

Semantic roles & 50–950 ramp

primary
#98A117
secondary
#544CC7
accent
#36F242
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #98A117

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

Preview Lab → · Contrast checker → · Palette generator →

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