#98B254#98B254

#98B254 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 72.3% C 0.125 H 122.4°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#98B254
RGBrgb(152, 178, 84)
HSLhsl(77, 38%, 51%)
HSVhsv(77, 53%, 70%)
CMYKcmyk(14.6%, 0%, 52.8%, 30.2%)
CIE-LABlab(68.86, -23.59, 44.57)
CIE-LCHlch(68.86, 50.43, 117.90°)
OKLaboklab(72.34% -0.0667 0.1053)
OKLCHoklch(72.34% 0.125 122.4)
XYZxyz(30.4697, 39.1562, 14.3385)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B254 #6E54B2
analogous
#B29D54 #98B254 #69B254
triadic
#98B254 #5498B2 #B25498
tetradic
#98B254 #54B29D #6E54B2 #B25469
square
#98B254 #54B29D #6E54B2 #B25469
split-complementary
#98B254 #5469B2 #9D54B2
monochromatic
#52602B #758A3E #98B254 #B1C57E #CBD8A8

Accessibility & contrast

On white

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

On black

8.83
#98B254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B254
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B254#FFFFFF#000000##000000
##98B2541.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98b254;
/* rgb */ color: rgb(152, 178, 84);
/* oklch */ color: oklch(72.3% 0.125 122.4);
Tailwind
colors: {
  custom: {
    50: '#b8c987',
    500: '#98b254',
    950: '#000000',
  },
}
SCSS
$custom: #98b254;
$custom-light: #b8c987;
$custom-dark: #000000;
JSON
{
  "hex": "#98b254",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 84
  },
  "hsl": {
    "h": 76.596,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.72342,
    "c": 0.12464,
    "h": 122.4
  },
  "luminance": 0.39156
}

Semantic roles & 50–950 ramp

primary
#98B254
secondary
#A89CC6
accent
#5ACE7A
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #98B254

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

Preview Lab → · Contrast checker → · Palette generator →

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