#98AD31#98AD31

#98AD31 is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.8% C 0.147 H 118.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#98AD31
RGBrgb(152, 173, 49)
HSLhsl(70, 56%, 44%)
HSVhsv(70, 72%, 68%)
CMYKcmyk(12.1%, 0%, 71.7%, 32.2%)
CIE-LABlab(67.11, -23.80, 57.80)
CIE-LCHlch(67.11, 62.51, 112.38°)
OKLaboklab(70.84% -0.0707 0.1289)
OKLCHoklch(70.84% 0.147 118.7)
XYZxyz(28.4474, 36.7845, 8.5066)
Luminance0.3678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AD31 #4631AD
analogous
#AD8431 #98AD31 #5AAD31
triadic
#98AD31 #3198AD #AD3198
tetradic
#98AD31 #31AD84 #4631AD #AD315A
square
#98AD31 #31AD84 #4631AD #AD315A
split-complementary
#98AD31 #315AAD #8431AD
monochromatic
#444E16 #6E7D23 #98AD31 #B7CD4E #CBDA7E

Accessibility & contrast

On white

2.51
#98AD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#98AD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AD31
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AD31#FFFFFF#000000##000000
##98AD311.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31B
Deuteranopia (green-blind)
#B6A43B
Tritanopia (blue-blind)
#A1A495
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #98ad31;
/* rgb */ color: rgb(152, 173, 49);
/* oklch */ color: oklch(70.8% 0.147 118.7);
Tailwind
colors: {
  custom: {
    50: '#b9c571',
    500: '#98ad31',
    950: '#000000',
  },
}
SCSS
$custom: #98ad31;
$custom-light: #b9c571;
$custom-dark: #000000;
JSON
{
  "hex": "#98ad31",
  "rgb": {
    "r": 152,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 70.161,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70836,
    "c": 0.14698,
    "h": 118.7
  },
  "luminance": 0.36784
}

Semantic roles & 50–950 ramp

primary
#98AD31
secondary
#8477C3
accent
#49DF62
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98AD31

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

Preview Lab → · Contrast checker → · Palette generator →

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