#98A332#98A332

#98A332 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.5% C 0.135 H 114.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#98A332
RGBrgb(152, 163, 50)
HSLhsl(66, 53%, 42%)
HSVhsv(66, 69%, 64%)
CMYKcmyk(6.7%, 0%, 69.3%, 36.1%)
CIE-LABlab(64.24, -18.73, 54.57)
CIE-LCHlch(64.24, 57.69, 108.94°)
OKLaboklab(68.53% -0.0565 0.1222)
OKLCHoklch(68.53% 0.135 114.8)
XYZxyz(26.6225, 33.1005, 8.0036)
Luminance0.3310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A332 #3D32A3
analogous
#A37632 #98A332 #60A332
triadic
#98A332 #3298A3 #A33298
tetradic
#98A332 #32A376 #3D32A3 #A33260
square
#98A332 #32A376 #3D32A3 #A33260
split-complementary
#98A332 #3260A3 #7632A3
monochromatic
#414515 #6C7424 #98A332 #BBC84B #CDD679

Accessibility & contrast

On white

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

On black

7.62
#98A332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A332
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A332#FFFFFF#000000##000000
##98A3321.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B20
Deuteranopia (green-blind)
#AE9D3A
Tritanopia (blue-blind)
#A29A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a332;
/* rgb */ color: rgb(152, 163, 50);
/* oklch */ color: oklch(68.5% 0.135 114.8);
Tailwind
colors: {
  custom: {
    50: '#b9be71',
    500: '#98a332',
    950: '#000000',
  },
}
SCSS
$custom: #98a332;
$custom-light: #b9be71;
$custom-dark: #000000;
JSON
{
  "hex": "#98a332",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 65.841,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68531,
    "c": 0.13465,
    "h": 114.8
  },
  "luminance": 0.331
}

Semantic roles & 50–950 ramp

primary
#98A332
secondary
#7A72BF
accent
#4BDC59
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A332

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

Preview Lab → · Contrast checker → · Palette generator →

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