#98BA47#98BA47

#98BA47 is a light, vivid yellow-green. Relative luminance 0.422; OKLCH L 74.1% C 0.147 H 123.9°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#98BA47
RGBrgb(152, 186, 71)
HSLhsl(78, 45%, 50%)
HSVhsv(78, 62%, 73%)
CMYKcmyk(18.3%, 0%, 61.8%, 27.1%)
CIE-LABlab(71.04, -28.63, 53.00)
CIE-LCHlch(71.04, 60.24, 118.38°)
OKLaboklab(74.05% -0.082 0.122)
OKLCHoklch(74.05% 0.147 123.9)
XYZxyz(31.6453, 42.2479, 12.4475)
Luminance0.4225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA47 #6947BA
analogous
#BAA247 #98BA47 #5EBA47
triadic
#98BA47 #4798BA #BA4798
tetradic
#98BA47 #47BAA2 #6947BA #BA475E
square
#98BA47 #47BAA2 #6947BA #BA475E
split-complementary
#98BA47 #475EBA #A247BA
monochromatic
#506225 #748E35 #98BA47 #B1CB74 #CADBA0

Accessibility & contrast

On white

2.22
#98BA47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#98BA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA47
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA47#FFFFFF#000000##000000
##98BA471.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF39
Deuteranopia (green-blind)
#BFAE4F
Tritanopia (blue-blind)
#9FB1A2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98ba47;
/* rgb */ color: rgb(152, 186, 71);
/* oklch */ color: oklch(74.1% 0.147 123.9);
Tailwind
colors: {
  custom: {
    50: '#b9ce7f',
    500: '#98ba47',
    950: '#000000',
  },
}
SCSS
$custom: #98ba47;
$custom-light: #b9ce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba47",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 71
  },
  "hsl": {
    "h": 77.739,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74054,
    "c": 0.14698,
    "h": 123.9
  },
  "luminance": 0.42248
}

Semantic roles & 50–950 ramp

primary
#98BA47
secondary
#A495C8
accent
#53D579
background
#FBFCF8
surface
#F6F9EF
border
#D0D2CA
text
#12130A
muted
#81827C

Preview Lab

Preview with #98BA47

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

Preview Lab → · Contrast checker → · Palette generator →

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