#98B452#98B452

#98B452 is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.8% C 0.129 H 122.9°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#98B452
RGBrgb(152, 180, 82)
HSLhsl(77, 40%, 51%)
HSVhsv(77, 54%, 71%)
CMYKcmyk(15.6%, 0%, 54.4%, 29.4%)
CIE-LABlab(69.42, -24.77, 46.17)
CIE-LCHlch(69.42, 52.40, 118.22°)
OKLaboklab(72.78% -0.0702 0.1086)
OKLCHoklch(72.78% 0.129 122.9)
XYZxyz(30.7933, 39.9270, 14.0654)
Luminance0.3993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B452 #6E52B4
analogous
#B49F52 #98B452 #67B452
triadic
#98B452 #5298B4 #B45298
tetradic
#98B452 #52B49F #6E52B4 #B45267
square
#98B452 #52B49F #6E52B4 #B45267
split-complementary
#98B452 #5267B4 #9F52B4
monochromatic
#52612A #758C3D #98B452 #B1C77D #CBD9A7

Accessibility & contrast

On white

2.34
#98B452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#98B452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B452
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B452#FFFFFF#000000##000000
##98B4521.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA48
Deuteranopia (green-blind)
#BAA958
Tritanopia (blue-blind)
#9EAC9E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98b452;
/* rgb */ color: rgb(152, 180, 82);
/* oklch */ color: oklch(72.8% 0.129 122.9);
Tailwind
colors: {
  custom: {
    50: '#b8ca85',
    500: '#98b452',
    950: '#000000',
  },
}
SCSS
$custom: #98b452;
$custom-light: #b8ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#98b452",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 82
  },
  "hsl": {
    "h": 77.143,
    "s": 39.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7278,
    "c": 0.12929,
    "h": 122.9
  },
  "luminance": 0.39927
}

Semantic roles & 50–950 ramp

primary
#98B452
secondary
#A89BC7
accent
#58CF7A
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #98B452

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

Preview Lab → · Contrast checker → · Palette generator →

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