#98B338#98B338

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

Color values

HEX#98B338
RGBrgb(152, 179, 56)
HSLhsl(73, 52%, 46%)
HSVhsv(73, 69%, 70%)
CMYKcmyk(15.1%, 0%, 68.7%, 29.8%)
CIE-LABlab(68.90, -26.32, 56.93)
CIE-LCHlch(68.90, 62.72, 114.81°)
OKLaboklab(72.29% -0.077 0.1282)
OKLCHoklch(72.29% 0.15 121)
XYZxyz(29.7833, 39.2012, 9.7382)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B338 #5338B3
analogous
#B39038 #98B338 #5AB338
triadic
#98B338 #3898B3 #B33898
tetradic
#98B338 #38B390 #5338B3 #B3385A
square
#98B338 #38B390 #5338B3 #B3385A
split-complementary
#98B338 #385AB3 #9038B3
monochromatic
#49561B #708429 #98B338 #B3CC5C #C9DB8B

Accessibility & contrast

On white

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

On black

8.84
#98B338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B338
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B338#FFFFFF#000000##000000
##98B3381.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98b338;
/* rgb */ color: rgb(152, 179, 56);
/* oklch */ color: oklch(72.3% 0.150 121.0);
Tailwind
colors: {
  custom: {
    50: '#b9c976',
    500: '#98b338',
    950: '#000000',
  },
}
SCSS
$custom: #98b338;
$custom-light: #b9c976;
$custom-dark: #000000;
JSON
{
  "hex": "#98b338",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 73.171,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72286,
    "c": 0.14952,
    "h": 121
  },
  "luminance": 0.39201
}

Semantic roles & 50–950 ramp

primary
#98B338
secondary
#9182C5
accent
#4CDC6C
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B338

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

Preview Lab → · Contrast checker → · Palette generator →

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