#98B752#98B752

#98B752 is a light, vivid yellow-green. Relative luminance 0.412; OKLCH L 73.5% C 0.133 H 123.9°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#98B752
RGBrgb(152, 183, 82)
HSLhsl(78, 41%, 52%)
HSVhsv(78, 55%, 72%)
CMYKcmyk(16.9%, 0%, 55.2%, 28.2%)
CIE-LABlab(70.28, -26.24, 47.17)
CIE-LCHlch(70.28, 53.98, 119.08°)
OKLaboklab(73.48% -0.0743 0.1107)
OKLCHoklch(73.48% 0.133 123.9)
XYZxyz(31.4055, 41.1514, 14.2695)
Luminance0.4115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B752 #7152B7
analogous
#B7A452 #98B752 #66B752
triadic
#98B752 #5298B7 #B75298
tetradic
#98B752 #52B7A4 #7152B7 #B75266
square
#98B752 #52B7A4 #7152B7 #B75266
split-complementary
#98B752 #5266B7 #A452B7
monochromatic
#53652A #76903C #98B752 #B2C97D #CBDBA8

Accessibility & contrast

On white

2.28
#98B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#98B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B752
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B752#FFFFFF#000000##000000
##98B7521.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD48
Deuteranopia (green-blind)
#BCAC58
Tritanopia (blue-blind)
#9EAFA1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #98b752;
/* rgb */ color: rgb(152, 183, 82);
/* oklch */ color: oklch(73.5% 0.133 123.9);
Tailwind
colors: {
  custom: {
    50: '#b8cc86',
    500: '#98b752',
    950: '#000000',
  },
}
SCSS
$custom: #98b752;
$custom-light: #b8cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#98b752",
  "rgb": {
    "r": 152,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 78.416,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73476,
    "c": 0.13335,
    "h": 123.9
  },
  "luminance": 0.41152
}

Semantic roles & 50–950 ramp

primary
#98B752
secondary
#AA9CC9
accent
#57D17C
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #98B752

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

Preview Lab → · Contrast checker → · Palette generator →

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