#98A532#98A532

#98A532 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.0% C 0.137 H 115.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#98A532
RGBrgb(152, 165, 50)
HSLhsl(67, 53%, 42%)
HSVhsv(67, 70%, 65%)
CMYKcmyk(7.9%, 0%, 69.7%, 35.3%)
CIE-LABlab(64.82, -19.74, 55.15)
CIE-LCHlch(64.82, 58.57, 109.70°)
OKLaboklab(68.99% -0.0593 0.1234)
OKLCHoklch(68.99% 0.137 115.7)
XYZxyz(26.9804, 33.8164, 8.1229)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A532 #3F32A5
analogous
#A57932 #98A532 #5EA532
triadic
#98A532 #3298A5 #A53298
tetradic
#98A532 #32A579 #3F32A5 #A5325E
square
#98A532 #32A579 #3F32A5 #A5325E
split-complementary
#98A532 #325EA5 #7932A5
monochromatic
#414716 #6D7624 #98A532 #BAC94C #CCD77B

Accessibility & contrast

On white

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

On black

7.76
#98A532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A532
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A532#FFFFFF#000000##000000
##98A5321.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D20
Deuteranopia (green-blind)
#B09E3B
Tritanopia (blue-blind)
#A29C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #98a532;
/* rgb */ color: rgb(152, 165, 50);
/* oklch */ color: oklch(69.0% 0.137 115.7);
Tailwind
colors: {
  custom: {
    50: '#b9bf71',
    500: '#98a532',
    950: '#000000',
  },
}
SCSS
$custom: #98a532;
$custom-light: #b9bf71;
$custom-dark: #000000;
JSON
{
  "hex": "#98a532",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 66.783,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68992,
    "c": 0.13695,
    "h": 115.7
  },
  "luminance": 0.33816
}

Semantic roles & 50–950 ramp

primary
#98A532
secondary
#7C73BF
accent
#4BDD5B
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A532

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

Preview Lab → · Contrast checker → · Palette generator →

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