#98A328#98A328

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

Color values

HEX#98A328
RGBrgb(152, 163, 40)
HSLhsl(65, 61%, 40%)
HSVhsv(65, 75%, 64%)
CMYKcmyk(6.7%, 0%, 75.5%, 36.1%)
CIE-LABlab(64.18, -19.25, 58.16)
CIE-LCHlch(64.18, 61.27, 108.31°)
OKLaboklab(68.46% -0.0589 0.1281)
OKLCHoklch(68.46% 0.141 114.7)
XYZxyz(26.4299, 33.0235, 6.9890)
Luminance0.3302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A328 #3328A3
analogous
#A37128 #98A328 #5AA328
triadic
#98A328 #2898A3 #A32898
tetradic
#98A328 #28A371 #3328A3 #A3285A
square
#98A328 #28A371 #3328A3 #A3285A
split-complementary
#98A328 #285AA3 #7128A3
monochromatic
#3C4110 #6A721C #98A328 #C1CF3A #D1DB6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A328#FFFFFF#000000##000000
##98A3281.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)
#AF9B0B
Deuteranopia (green-blind)
#AE9D33
Tritanopia (blue-blind)
#A2998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a328;
/* rgb */ color: rgb(152, 163, 40);
/* oklch */ color: oklch(68.5% 0.141 114.7);
Tailwind
colors: {
  custom: {
    50: '#babe6c',
    500: '#98a328',
    950: '#000000',
  },
}
SCSS
$custom: #98a328;
$custom-light: #babe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a328",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 65.366,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68461,
    "c": 0.14096,
    "h": 114.7
  },
  "luminance": 0.33023
}

Semantic roles & 50–950 ramp

primary
#98A328
secondary
#6E66C1
accent
#44E452
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A328

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

Preview Lab → · Contrast checker → · Palette generator →

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