#98A528#98A528

#98A528 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.9% C 0.143 H 115.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#98A528
RGBrgb(152, 165, 40)
HSLhsl(66, 61%, 40%)
HSVhsv(66, 76%, 65%)
CMYKcmyk(7.9%, 0%, 75.8%, 35.3%)
CIE-LABlab(64.76, -20.26, 58.70)
CIE-LCHlch(64.76, 62.10, 109.04°)
OKLaboklab(68.92% -0.0617 0.1292)
OKLCHoklch(68.92% 0.143 115.5)
XYZxyz(26.7878, 33.7393, 7.1083)
Luminance0.3374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A528 #3528A5
analogous
#A57328 #98A528 #59A528
triadic
#98A528 #2898A5 #A52898
tetradic
#98A528 #28A573 #3528A5 #A52859
square
#98A528 #28A573 #3528A5 #A52859
split-complementary
#98A528 #2859A5 #7328A5
monochromatic
#3D4210 #6B741C #98A528 #C0CF3B #D0DB6C

Accessibility & contrast

On white

2.71
#98A528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#98A528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A528
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A528#FFFFFF#000000##000000
##98A5281.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0A
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#A29B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #98a528;
/* rgb */ color: rgb(152, 165, 40);
/* oklch */ color: oklch(68.9% 0.143 115.5);
Tailwind
colors: {
  custom: {
    50: '#babf6c',
    500: '#98a528',
    950: '#000000',
  },
}
SCSS
$custom: #98a528;
$custom-light: #babf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a528",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 66.24,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68923,
    "c": 0.14318,
    "h": 115.5
  },
  "luminance": 0.33739
}

Semantic roles & 50–950 ramp

primary
#98A528
secondary
#7067C2
accent
#44E454
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A528

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

Preview Lab → · Contrast checker → · Palette generator →

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