#98B252#98B252

#98B252 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.3% C 0.127 H 122.2°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#98B252
RGBrgb(152, 178, 82)
HSLhsl(76, 38%, 51%)
HSVhsv(76, 54%, 70%)
CMYKcmyk(14.6%, 0%, 53.9%, 30.2%)
CIE-LABlab(68.84, -23.79, 45.50)
CIE-LCHlch(68.84, 51.34, 117.60°)
OKLaboklab(72.32% -0.0675 0.1071)
OKLCHoklch(72.32% 0.127 122.2)
XYZxyz(30.3925, 39.1253, 13.9318)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B252 #6C52B2
analogous
#B29C52 #98B252 #68B252
triadic
#98B252 #5298B2 #B25298
tetradic
#98B252 #52B29C #6C52B2 #B25268
square
#98B252 #52B29C #6C52B2 #B25268
split-complementary
#98B252 #5268B2 #9C52B2
monochromatic
#515F2A #758A3D #98B252 #B1C57C #CAD8A7

Accessibility & contrast

On white

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

On black

8.82
#98B252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B252
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B252#FFFFFF#000000##000000
##98B2521.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA949
Deuteranopia (green-blind)
#B8A858
Tritanopia (blue-blind)
#9FAA9D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b252;
/* rgb */ color: rgb(152, 178, 82);
/* oklch */ color: oklch(72.3% 0.127 122.2);
Tailwind
colors: {
  custom: {
    50: '#b8c985',
    500: '#98b252',
    950: '#000000',
  },
}
SCSS
$custom: #98b252;
$custom-light: #b8c985;
$custom-dark: #000000;
JSON
{
  "hex": "#98b252",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 76.25,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72317,
    "c": 0.12658,
    "h": 122.2
  },
  "luminance": 0.39125
}

Semantic roles & 50–950 ramp

primary
#98B252
secondary
#A69BC5
accent
#59CE79
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #98B252

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

Preview Lab → · Contrast checker → · Palette generator →

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