#98A922#98A922

#98A922 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.8% C 0.151 H 117.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#98A922
RGBrgb(152, 169, 34)
HSLhsl(68, 67%, 40%)
HSVhsv(68, 80%, 66%)
CMYKcmyk(10.1%, 0%, 79.9%, 33.7%)
CIE-LABlab(65.88, -22.52, 61.60)
CIE-LCHlch(65.88, 65.59, 110.08°)
OKLaboklab(69.82% -0.0684 0.1343)
OKLCHoklch(69.82% 0.151 117)
XYZxyz(27.4263, 35.1672, 6.8562)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A922 #3322A9
analogous
#A97722 #98A922 #54A922
triadic
#98A922 #2298A9 #A92298
tetradic
#98A922 #22A977 #3322A9 #A92254
square
#98A922 #22A977 #3322A9 #A92254
split-complementary
#98A922 #2254A9 #7722A9
monochromatic
#3C430D #6A7618 #98A922 #C1D632 #D1E065

Accessibility & contrast

On white

2.61
#98A922 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#98A922 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A922
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A922#FFFFFF#000000##000000
##98A9221.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B3A12F
Tritanopia (blue-blind)
#A29F90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #98a922;
/* rgb */ color: rgb(152, 169, 34);
/* oklch */ color: oklch(69.8% 0.151 117.0);
Tailwind
colors: {
  custom: {
    50: '#bac26a',
    500: '#98a922',
    950: '#000000',
  },
}
SCSS
$custom: #98a922;
$custom-light: #bac26a;
$custom-dark: #000000;
JSON
{
  "hex": "#98a922",
  "rgb": {
    "r": 152,
    "g": 169,
    "b": 34
  },
  "hsl": {
    "h": 67.556,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69816,
    "c": 0.15072,
    "h": 117
  },
  "luminance": 0.35167
}

Semantic roles & 50–950 ramp

primary
#98A922
secondary
#6E61C5
accent
#3EE954
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A922

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

Preview Lab → · Contrast checker → · Palette generator →

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