#98A928#98A928

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

Color values

HEX#98A928
RGBrgb(152, 169, 40)
HSLhsl(68, 62%, 41%)
HSVhsv(68, 76%, 66%)
CMYKcmyk(10.1%, 0%, 76.3%, 33.7%)
CIE-LABlab(65.91, -22.27, 59.78)
CIE-LCHlch(65.91, 63.79, 110.43°)
OKLaboklab(69.85% -0.0672 0.1315)
OKLCHoklch(69.85% 0.148 117.1)
XYZxyz(27.5206, 35.2049, 7.3525)
Luminance0.3520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A928 #3928A9
analogous
#A97928 #98A928 #57A928
triadic
#98A928 #2898A9 #A92898
tetradic
#98A928 #28A979 #3928A9 #A92857
square
#98A928 #28A979 #3928A9 #A92857
split-complementary
#98A928 #2857A9 #7928A9
monochromatic
#3F4611 #6B781C #98A928 #BED13D #CEDD6F

Accessibility & contrast

On white

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

On black

8.04
#98A928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A928
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A928#FFFFFF#000000##000000
##98A9281.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A007
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#A29F91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #98a928;
/* rgb */ color: rgb(152, 169, 40);
/* oklch */ color: oklch(69.8% 0.148 117.1);
Tailwind
colors: {
  custom: {
    50: '#bac26d',
    500: '#98a928',
    950: '#000000',
  },
}
SCSS
$custom: #98a928;
$custom-light: #bac26d;
$custom-dark: #000000;
JSON
{
  "hex": "#98a928",
  "rgb": {
    "r": 152,
    "g": 169,
    "b": 40
  },
  "hsl": {
    "h": 67.907,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69849,
    "c": 0.14768,
    "h": 117.1
  },
  "luminance": 0.35205
}

Semantic roles & 50–950 ramp

primary
#98A928
secondary
#7569C4
accent
#43E558
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98A928

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

Preview Lab → · Contrast checker → · Palette generator →

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