#98B239#98B239

#98B239 is a light, vivid yellow-green. Relative luminance 0.388; OKLCH L 72.1% C 0.148 H 120.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#98B239
RGBrgb(152, 178, 57)
HSLhsl(73, 51%, 46%)
HSVhsv(73, 68%, 70%)
CMYKcmyk(14.6%, 0%, 68%, 30.2%)
CIE-LABlab(68.61, -25.77, 56.25)
CIE-LCHlch(68.61, 61.88, 114.62°)
OKLaboklab(72.06% -0.0754 0.1269)
OKLCHoklch(72.06% 0.148 120.7)
XYZxyz(29.6083, 38.8117, 9.8017)
Luminance0.3881 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B239 #5339B2
analogous
#B28F39 #98B239 #5BB239
triadic
#98B239 #3998B2 #B23998
tetradic
#98B239 #39B28F #5339B2 #B2395B
square
#98B239 #39B28F #5339B2 #B2395B
split-complementary
#98B239 #395BB2 #8F39B2
monochromatic
#49551B #70842A #98B239 #B3CB5D #C9DA8B

Accessibility & contrast

On white

2.40
#98B239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#98B239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B239
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B239#FFFFFF#000000##000000
##98B2391.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA827
Deuteranopia (green-blind)
#BAA842
Tritanopia (blue-blind)
#A0A99A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98b239;
/* rgb */ color: rgb(152, 178, 57);
/* oklch */ color: oklch(72.1% 0.148 120.7);
Tailwind
colors: {
  custom: {
    50: '#b9c976',
    500: '#98b239',
    950: '#000000',
  },
}
SCSS
$custom: #98b239;
$custom-light: #b9c976;
$custom-dark: #000000;
JSON
{
  "hex": "#98b239",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 72.893,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72061,
    "c": 0.14759,
    "h": 120.7
  },
  "luminance": 0.38812
}

Semantic roles & 50–950 ramp

primary
#98B239
secondary
#9182C4
accent
#4DDB6B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B239

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

Preview Lab → · Contrast checker → · Palette generator →

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