#98B73C#98B73C

#98B73C is a light, vivid yellow-green. Relative luminance 0.409; OKLCH L 73.3% C 0.152 H 122.4°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#98B73C
RGBrgb(152, 183, 60)
HSLhsl(75, 51%, 48%)
HSVhsv(75, 67%, 72%)
CMYKcmyk(16.9%, 0%, 67.2%, 28.2%)
CIE-LABlab(70.08, -28.00, 56.57)
CIE-LCHlch(70.08, 63.12, 116.33°)
OKLaboklab(73.25% -0.0813 0.128)
OKLCHoklch(73.25% 0.152 122.4)
XYZxyz(30.6983, 40.8685, 10.5452)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B73C #5B3CB7
analogous
#B7983C #98B73C #5AB73C
triadic
#98B73C #3C98B7 #B73C98
tetradic
#98B73C #3CB798 #5B3CB7 #B73C5A
square
#98B73C #3CB798 #5B3CB7 #B73C5A
split-complementary
#98B73C #3C5AB7 #983CB7
monochromatic
#4B5B1E #72892D #98B73C #B2CC64 #C9DB92

Accessibility & contrast

On white

2.29
#98B73C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#98B73C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B73C
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B73C#FFFFFF#000000##000000
##98B73C1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC2A
Deuteranopia (green-blind)
#BEAB46
Tritanopia (blue-blind)
#A0AE9E
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #98b73c;
/* rgb */ color: rgb(152, 183, 60);
/* oklch */ color: oklch(73.3% 0.152 122.4);
Tailwind
colors: {
  custom: {
    50: '#b9cc78',
    500: '#98b73c',
    950: '#000000',
  },
}
SCSS
$custom: #98b73c;
$custom-light: #b9cc78;
$custom-dark: #000000;
JSON
{
  "hex": "#98b73c",
  "rgb": {
    "r": 152,
    "g": 183,
    "b": 60
  },
  "hsl": {
    "h": 75.122,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73252,
    "c": 0.15162,
    "h": 122.4
  },
  "luminance": 0.40869
}

Semantic roles & 50–950 ramp

primary
#98B73C
secondary
#9888C6
accent
#4EDA71
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#121309
muted
#81827B

Preview Lab

Preview with #98B73C

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

Preview Lab → · Contrast checker → · Palette generator →

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