#98B528#98B528

#98B528 is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.6% C 0.161 H 121.1°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#98B528
RGBrgb(152, 181, 40)
HSLhsl(72, 64%, 43%)
HSVhsv(72, 78%, 71%)
CMYKcmyk(16%, 0%, 77.9%, 29%)
CIE-LABlab(69.38, -28.14, 62.99)
CIE-LCHlch(69.38, 68.99, 114.07°)
OKLaboklab(72.65% -0.0834 0.1383)
OKLCHoklch(72.65% 0.161 121.1)
XYZxyz(29.8563, 39.8764, 8.1311)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B528 #4528B5
analogous
#B58B28 #98B528 #52B528
triadic
#98B528 #2898B5 #B52898
tetradic
#98B528 #28B58B #4528B5 #B52852
square
#98B528 #28B58B #4528B5 #B52852
split-complementary
#98B528 #2852B5 #8B28B5
monochromatic
#445112 #6E831D #98B528 #B8D644 #CBE177

Accessibility & contrast

On white

2.34
#98B528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#98B528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B528
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B528#FFFFFF#000000##000000
##98B5281.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#A1AB9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98b528;
/* rgb */ color: rgb(152, 181, 40);
/* oklch */ color: oklch(72.6% 0.161 121.1);
Tailwind
colors: {
  custom: {
    50: '#bacb6e',
    500: '#98b528',
    950: '#000000',
  },
}
SCSS
$custom: #98b528;
$custom-light: #bacb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#98b528",
  "rgb": {
    "r": 152,
    "g": 181,
    "b": 40
  },
  "hsl": {
    "h": 72.34,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72647,
    "c": 0.16147,
    "h": 121.1
  },
  "luminance": 0.39876
}

Semantic roles & 50–950 ramp

primary
#98B528
secondary
#8270C8
accent
#41E763
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B528

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

Preview Lab → · Contrast checker → · Palette generator →

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