#98B335#98B335

#98B335 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 72.3% C 0.152 H 120.9°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#98B335
RGBrgb(152, 179, 53)
HSLhsl(73, 54%, 45%)
HSVhsv(73, 70%, 70%)
CMYKcmyk(15.1%, 0%, 70.4%, 29.8%)
CIE-LABlab(68.88, -26.51, 58.06)
CIE-LCHlch(68.88, 63.82, 114.54°)
OKLaboklab(72.26% -0.0778 0.1301)
OKLCHoklch(72.26% 0.152 120.9)
XYZxyz(29.7121, 39.1727, 9.3633)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B335 #5035B3
analogous
#B38F35 #98B335 #59B335
triadic
#98B335 #3598B3 #B33598
tetradic
#98B335 #35B38F #5035B3 #B33559
square
#98B335 #35B38F #5035B3 #B33559
split-complementary
#98B335 #3559B3 #8F35B3
monochromatic
#485519 #708427 #98B335 #B4CD58 #C9DB87

Accessibility & contrast

On white

2.38
#98B335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#98B335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B335
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B335#FFFFFF#000000##000000
##98B3351.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA820
Deuteranopia (green-blind)
#BBA83F
Tritanopia (blue-blind)
#A0AA9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b335;
/* rgb */ color: rgb(152, 179, 53);
/* oklch */ color: oklch(72.3% 0.152 120.9);
Tailwind
colors: {
  custom: {
    50: '#b9c974',
    500: '#98b335',
    950: '#000000',
  },
}
SCSS
$custom: #98b335;
$custom-light: #b9c974;
$custom-dark: #000000;
JSON
{
  "hex": "#98b335",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 72.857,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72263,
    "c": 0.15155,
    "h": 120.9
  },
  "luminance": 0.39173
}

Semantic roles & 50–950 ramp

primary
#98B335
secondary
#8E7FC5
accent
#4ADE6A
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B335

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

Preview Lab → · Contrast checker → · Palette generator →

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