#98A322#98A322

#98A322 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.4% C 0.144 H 114.6°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#98A322
RGBrgb(152, 163, 34)
HSLhsl(65, 65%, 39%)
HSVhsv(65, 79%, 64%)
CMYKcmyk(6.7%, 0%, 79.1%, 36.1%)
CIE-LABlab(64.15, -19.51, 60.05)
CIE-LCHlch(64.15, 63.14, 107.99°)
OKLaboklab(68.43% -0.0601 0.131)
OKLCHoklch(68.43% 0.144 114.6)
XYZxyz(26.3356, 32.9858, 6.4926)
Luminance0.3298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A322 #2D22A3
analogous
#A36D22 #98A322 #57A322
triadic
#98A322 #2298A3 #A32298
tetradic
#98A322 #22A36D #2D22A3 #A32257
square
#98A322 #22A36D #2D22A3 #A32257
split-complementary
#98A322 #2257A3 #6D22A3
monochromatic
#3A3E0D #697017 #98A322 #C5D42F #D3DE61

Accessibility & contrast

On white

2.76
#98A322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#98A322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A322
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A322#FFFFFF#000000##000000
##98A3221.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B00
Deuteranopia (green-blind)
#AF9D2E
Tritanopia (blue-blind)
#A2998B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a322;
/* rgb */ color: rgb(152, 163, 34);
/* oklch */ color: oklch(68.4% 0.144 114.6);
Tailwind
colors: {
  custom: {
    50: '#babe69',
    500: '#98a322',
    950: '#000000',
  },
}
SCSS
$custom: #98a322;
$custom-light: #babe69;
$custom-dark: #000000;
JSON
{
  "hex": "#98a322",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 34
  },
  "hsl": {
    "h": 65.116,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68427,
    "c": 0.14412,
    "h": 114.6
  },
  "luminance": 0.32985
}

Semantic roles & 50–950 ramp

primary
#98A322
secondary
#665EC3
accent
#3FE84E
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #98A322

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

Preview Lab → · Contrast checker → · Palette generator →

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