#98A846#98A846

#98A846 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.9% C 0.125 H 117.5°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#98A846
RGBrgb(152, 168, 70)
HSLhsl(70, 41%, 47%)
HSVhsv(70, 58%, 66%)
CMYKcmyk(9.5%, 0%, 58.3%, 34.1%)
CIE-LABlab(65.84, -19.86, 47.70)
CIE-LCHlch(65.84, 51.67, 112.60°)
OKLaboklab(69.87% -0.0576 0.1106)
OKLCHoklch(69.87% 0.125 117.5)
XYZxyz(28.0575, 35.1231, 11.0945)
Luminance0.3512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A846 #5646A8
analogous
#A88746 #98A846 #67A846
triadic
#98A846 #4698A8 #A84698
tetradic
#98A846 #46A887 #5646A8 #A84667
square
#98A846 #46A887 #5646A8 #A84667
split-complementary
#98A846 #4667A8 #8746A8
monochromatic
#4A5222 #717D34 #98A846 #B3C16A #C9D395

Accessibility & contrast

On white

2.62
#98A846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#98A846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A846
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A846#FFFFFF#000000##000000
##98A8461.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A03B
Deuteranopia (green-blind)
#B1A14C
Tritanopia (blue-blind)
#A09F93
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #98a846;
/* rgb */ color: rgb(152, 168, 70);
/* oklch */ color: oklch(69.9% 0.125 117.5);
Tailwind
colors: {
  custom: {
    50: '#b8c17d',
    500: '#98a846',
    950: '#000000',
  },
}
SCSS
$custom: #98a846;
$custom-light: #b8c17d;
$custom-dark: #000000;
JSON
{
  "hex": "#98a846",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 70
  },
  "hsl": {
    "h": 69.796,
    "s": 41.176,
    "l": 46.667
  },
  "oklch": {
    "l": 0.6987,
    "c": 0.12466,
    "h": 117.5
  },
  "luminance": 0.35123
}

Semantic roles & 50–950 ramp

primary
#98A846
secondary
#938BBF
accent
#57D16B
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #98A846

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

Preview Lab → · Contrast checker → · Palette generator →

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