#98B456#98B456

#98B456 is a light, vivid yellow-green. Relative luminance 0.400; OKLCH L 72.8% C 0.125 H 123.2°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#98B456
RGBrgb(152, 180, 86)
HSLhsl(78, 39%, 52%)
HSVhsv(78, 52%, 71%)
CMYKcmyk(15.6%, 0%, 52.2%, 29.4%)
CIE-LABlab(69.46, -24.38, 44.31)
CIE-LCHlch(69.46, 50.57, 118.82°)
OKLaboklab(72.83% -0.0688 0.1049)
OKLCHoklch(72.83% 0.125 123.2)
XYZxyz(30.9500, 39.9897, 14.8905)
Luminance0.3999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B456 #7256B4
analogous
#B4A156 #98B456 #69B456
triadic
#98B456 #5698B4 #B45698
tetradic
#98B456 #56B4A1 #7256B4 #B45669
square
#98B456 #56B4A1 #7256B4 #B45669
split-complementary
#98B456 #5669B4 #A156B4
monochromatic
#53632C #768E3F #98B456 #B2C780 #CCDAAB

Accessibility & contrast

On white

2.33
#98B456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#98B456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B456
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B456#FFFFFF#000000##000000
##98B4561.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA4D
Deuteranopia (green-blind)
#B9A95C
Tritanopia (blue-blind)
#9EAC9F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #98b456;
/* rgb */ color: rgb(152, 180, 86);
/* oklch */ color: oklch(72.8% 0.125 123.2);
Tailwind
colors: {
  custom: {
    50: '#b8ca88',
    500: '#98b456',
    950: '#000000',
  },
}
SCSS
$custom: #98b456;
$custom-light: #b8ca88;
$custom-dark: #000000;
JSON
{
  "hex": "#98b456",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 86
  },
  "hsl": {
    "h": 77.872,
    "s": 38.525,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72831,
    "c": 0.12541,
    "h": 123.2
  },
  "luminance": 0.3999
}

Semantic roles & 50–950 ramp

primary
#98B456
secondary
#AB9EC7
accent
#59CE7C
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #98B456

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

Preview Lab → · Contrast checker → · Palette generator →

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