#98B258#98B258

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

Color values

HEX#98B258
RGBrgb(152, 178, 88)
HSLhsl(77, 37%, 52%)
HSVhsv(77, 51%, 70%)
CMYKcmyk(14.6%, 0%, 50.6%, 30.2%)
CIE-LABlab(68.91, -23.19, 42.68)
CIE-LCHlch(68.91, 48.57, 118.52°)
OKLaboklab(72.4% -0.0652 0.1015)
OKLCHoklch(72.4% 0.121 122.7)
XYZxyz(30.6308, 39.2207, 15.1873)
Luminance0.3922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B258 #7258B2
analogous
#B29F58 #98B258 #6BB258
triadic
#98B258 #5898B2 #B25898
tetradic
#98B258 #58B29F #7258B2 #B2586B
square
#98B258 #58B29F #7258B2 #B2586B
split-complementary
#98B258 #586BB2 #9F58B2
monochromatic
#53622D #768C41 #98B258 #B2C582 #CCD9AC

Accessibility & contrast

On white

2.37
#98B258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##98B258#FFFFFF#000000##000000
##98B2581.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA950
Deuteranopia (green-blind)
#B7A85D
Tritanopia (blue-blind)
#9EAA9D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b258;
/* rgb */ color: rgb(152, 178, 88);
/* oklch */ color: oklch(72.4% 0.121 122.7);
Tailwind
colors: {
  custom: {
    50: '#b8c989',
    500: '#98b258',
    950: '#000000',
  },
}
SCSS
$custom: #98b258;
$custom-light: #b8c989;
$custom-dark: #000000;
JSON
{
  "hex": "#98b258",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 77.333,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72395,
    "c": 0.12065,
    "h": 122.7
  },
  "luminance": 0.39221
}

Semantic roles & 50–950 ramp

primary
#98B258
secondary
#AB9FC7
accent
#5BCD7C
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #98B258

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

Preview Lab → · Contrast checker → · Palette generator →

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