#98B334#98B334

#98B334 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#98B334
RGBrgb(152, 179, 52)
HSLhsl(73, 55%, 45%)
HSVhsv(73, 71%, 70%)
CMYKcmyk(15.1%, 0%, 70.9%, 29.8%)
CIE-LABlab(68.87, -26.56, 58.43)
CIE-LCHlch(68.87, 64.18, 114.45°)
OKLaboklab(72.26% -0.078 0.1307)
OKLCHoklch(72.26% 0.152 120.9)
XYZxyz(29.6893, 39.1636, 9.2434)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B334 #4F34B3
analogous
#B38E34 #98B334 #58B334
triadic
#98B334 #3498B3 #B33498
tetradic
#98B334 #34B38E #4F34B3 #B33458
square
#98B334 #34B38E #4F34B3 #B33458
split-complementary
#98B334 #3458B3 #8E34B3
monochromatic
#475418 #708426 #98B334 #B5CE56 #C9DC86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98B334#FFFFFF#000000##000000
##98B3341.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)
#BEA81E
Deuteranopia (green-blind)
#BBA83E
Tritanopia (blue-blind)
#A0AA9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b334;
/* rgb */ color: rgb(152, 179, 52);
/* oklch */ color: oklch(72.3% 0.152 120.9);
Tailwind
colors: {
  custom: {
    50: '#bac974',
    500: '#98b334',
    950: '#000000',
  },
}
SCSS
$custom: #98b334;
$custom-light: #bac974;
$custom-dark: #000000;
JSON
{
  "hex": "#98b334",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 72.756,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72256,
    "c": 0.15221,
    "h": 120.9
  },
  "luminance": 0.39164
}

Semantic roles & 50–950 ramp

primary
#98B334
secondary
#8D7DC5
accent
#49DE69
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B334

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

Preview Lab → · Contrast checker → · Palette generator →

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