#98B728#98B728

#98B728 is a light, vivid yellow-green. Relative luminance 0.407; OKLCH L 73.1% C 0.164 H 121.7°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#98B728
RGBrgb(152, 183, 40)
HSLhsl(73, 64%, 44%)
HSVhsv(73, 78%, 72%)
CMYKcmyk(16.9%, 0%, 78.1%, 28.2%)
CIE-LABlab(69.96, -29.09, 63.52)
CIE-LCHlch(69.96, 69.86, 114.61°)
OKLaboklab(73.11% -0.086 0.1394)
OKLCHoklch(73.11% 0.164 121.7)
XYZxyz(30.2659, 40.6955, 8.2676)
Luminance0.4070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B728 #4728B7
analogous
#B78E28 #98B728 #50B728
triadic
#98B728 #2898B7 #B72898
tetradic
#98B728 #28B78E #4728B7 #B72850
square
#98B728 #28B78E #4728B7 #B72850
split-complementary
#98B728 #2850B7 #8E28B7
monochromatic
#455312 #6E851D #98B728 #B7D646 #CBE178

Accessibility & contrast

On white

2.30
#98B728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#98B728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B728
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B728#FFFFFF#000000##000000
##98B7281.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC00
Deuteranopia (green-blind)
#BFAB36
Tritanopia (blue-blind)
#A1AD9D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #98b728;
/* rgb */ color: rgb(152, 183, 40);
/* oklch */ color: oklch(73.1% 0.164 121.7);
Tailwind
colors: {
  custom: {
    50: '#bacc6e',
    500: '#98b728',
    950: '#000000',
  },
}
SCSS
$custom: #98b728;
$custom-light: #bacc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#98b728",
  "rgb": {
    "r": 152,
    "g": 183,
    "b": 40
  },
  "hsl": {
    "h": 73.007,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73115,
    "c": 0.16379,
    "h": 121.7
  },
  "luminance": 0.40696
}

Semantic roles & 50–950 ramp

primary
#98B728
secondary
#8572C9
accent
#41E765
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B728

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

Preview Lab → · Contrast checker → · Palette generator →

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