#98B733#98B733

#98B733 is a light, vivid yellow-green. Relative luminance 0.408; OKLCH L 73.2% C 0.158 H 122.0°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#98B733
RGBrgb(152, 183, 51)
HSLhsl(74, 56%, 46%)
HSVhsv(74, 72%, 72%)
CMYKcmyk(16.9%, 0%, 72.1%, 28.2%)
CIE-LABlab(70.02, -28.55, 59.93)
CIE-LCHlch(70.02, 66.38, 115.47°)
OKLaboklab(73.18% -0.0836 0.1337)
OKLCHoklch(73.18% 0.158 122)
XYZxyz(30.4804, 40.7813, 9.3971)
Luminance0.4078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B733 #5233B7
analogous
#B79433 #98B733 #56B733
triadic
#98B733 #3398B7 #B73398
tetradic
#98B733 #33B794 #5233B7 #B73356
square
#98B733 #33B794 #5233B7 #B73356
split-complementary
#98B733 #3356B7 #9433B7
monochromatic
#485718 #708726 #98B733 #B4D057 #C9DE87

Accessibility & contrast

On white

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

On black

9.16
#98B733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B733
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B733#FFFFFF#000000##000000
##98B7331.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1B
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#A0AE9D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #98b733;
/* rgb */ color: rgb(152, 183, 51);
/* oklch */ color: oklch(73.2% 0.158 122.0);
Tailwind
colors: {
  custom: {
    50: '#bacc74',
    500: '#98b733',
    950: '#000000',
  },
}
SCSS
$custom: #98b733;
$custom-light: #bacc74;
$custom-dark: #000000;
JSON
{
  "hex": "#98b733",
  "rgb": {
    "r": 152,
    "g": 183,
    "b": 51
  },
  "hsl": {
    "h": 74.091,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73183,
    "c": 0.15766,
    "h": 122
  },
  "luminance": 0.40781
}

Semantic roles & 50–950 ramp

primary
#98B733
secondary
#907FC7
accent
#48E06C
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B733

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

Preview Lab → · Contrast checker → · Palette generator →

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