#98A524#98A524

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

Color values

HEX#98A524
RGBrgb(152, 165, 36)
HSLhsl(66, 64%, 39%)
HSVhsv(66, 78%, 65%)
CMYKcmyk(7.9%, 0%, 78.2%, 35.3%)
CIE-LABlab(64.73, -20.44, 59.97)
CIE-LCHlch(64.73, 63.36, 108.82°)
OKLaboklab(68.9% -0.0625 0.1312)
OKLCHoklch(68.9% 0.145 115.5)
XYZxyz(26.7232, 33.7135, 6.7683)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A524 #3124A5
analogous
#A57224 #98A524 #57A524
triadic
#98A524 #2498A5 #A52498
tetradic
#98A524 #24A572 #3124A5 #A52457
square
#98A524 #24A572 #3124A5 #A52457
split-complementary
#98A524 #2457A5 #7224A5
monochromatic
#3B410E #6A7319 #98A524 #C3D334 #D2DE66

Accessibility & contrast

On white

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

On black

7.74
#98A524 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A524
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A524#FFFFFF#000000##000000
##98A5241.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98a524;
/* rgb */ color: rgb(152, 165, 36);
/* oklch */ color: oklch(68.9% 0.145 115.5);
Tailwind
colors: {
  custom: {
    50: '#babf6a',
    500: '#98a524',
    950: '#000000',
  },
}
SCSS
$custom: #98a524;
$custom-light: #babf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#98a524",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 36
  },
  "hsl": {
    "h": 66.047,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.689,
    "c": 0.14532,
    "h": 115.5
  },
  "luminance": 0.33713
}

Semantic roles & 50–950 ramp

primary
#98A524
secondary
#6B62C3
accent
#41E751
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A524

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

Preview Lab → · Contrast checker → · Palette generator →

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