#98B949#98B949

#98B949 is a light, vivid yellow-green. Relative luminance 0.419; OKLCH L 73.8% C 0.144 H 123.8°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#98B949
RGBrgb(152, 185, 73)
HSLhsl(78, 44%, 51%)
HSVhsv(78, 61%, 73%)
CMYKcmyk(17.8%, 0%, 60.5%, 27.5%)
CIE-LABlab(70.77, -27.99, 51.83)
CIE-LCHlch(70.77, 58.91, 118.37°)
OKLaboklab(73.84% -0.08 0.1197)
OKLCHoklch(73.84% 0.144 123.8)
XYZxyz(31.5006, 41.8542, 12.7212)
Luminance0.4185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B949 #6A49B9
analogous
#B9A249 #98B949 #60B949
triadic
#98B949 #4998B9 #B94998
tetradic
#98B949 #49B9A2 #6A49B9 #B94960
square
#98B949 #49B9A2 #6A49B9 #B94960
split-complementary
#98B949 #4960B9 #A249B9
monochromatic
#506226 #748E37 #98B949 #B1CA75 #CADBA1

Accessibility & contrast

On white

2.24
#98B949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#98B949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B949
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B949#FFFFFF#000000##000000
##98B9491.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3C
Deuteranopia (green-blind)
#BEAD51
Tritanopia (blue-blind)
#9FB0A1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #98b949;
/* rgb */ color: rgb(152, 185, 73);
/* oklch */ color: oklch(73.8% 0.144 123.8);
Tailwind
colors: {
  custom: {
    50: '#b9ce80',
    500: '#98b949',
    950: '#000000',
  },
}
SCSS
$custom: #98b949;
$custom-light: #b9ce80;
$custom-dark: #000000;
JSON
{
  "hex": "#98b949",
  "rgb": {
    "r": 152,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 77.679,
    "s": 44.444,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73841,
    "c": 0.14401,
    "h": 123.8
  },
  "luminance": 0.41854
}

Semantic roles & 50–950 ramp

primary
#98B949
secondary
#A596C8
accent
#54D47A
background
#FBFCF8
surface
#F6F9EF
border
#D0D2CA
text
#12130A
muted
#81827C

Preview Lab

Preview with #98B949

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

Preview Lab → · Contrast checker → · Palette generator →

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