#98AE31#98AE31

#98AE31 is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 71.1% C 0.148 H 119.1°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#98AE31
RGBrgb(152, 174, 49)
HSLhsl(71, 56%, 44%)
HSVhsv(71, 72%, 68%)
CMYKcmyk(12.6%, 0%, 71.8%, 31.8%)
CIE-LABlab(67.40, -24.29, 58.09)
CIE-LCHlch(67.40, 62.96, 112.69°)
OKLaboklab(71.07% -0.072 0.1295)
OKLCHoklch(71.07% 0.148 119.1)
XYZxyz(28.6399, 37.1694, 8.5708)
Luminance0.3717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AE31 #4731AE
analogous
#AE8531 #98AE31 #59AE31
triadic
#98AE31 #3198AE #AE3198
tetradic
#98AE31 #31AE85 #4731AE #AE3159
square
#98AE31 #31AE85 #4731AE #AE3159
split-complementary
#98AE31 #3159AE #8531AE
monochromatic
#454E16 #6E7E24 #98AE31 #B7CD4F #CBDB7F

Accessibility & contrast

On white

2.49
#98AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#98AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AE31
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AE31#FFFFFF#000000##000000
##98AE311.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41B
Deuteranopia (green-blind)
#B7A53B
Tritanopia (blue-blind)
#A1A596
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #98ae31;
/* rgb */ color: rgb(152, 174, 49);
/* oklch */ color: oklch(71.1% 0.148 119.1);
Tailwind
colors: {
  custom: {
    50: '#bac672',
    500: '#98ae31',
    950: '#000000',
  },
}
SCSS
$custom: #98ae31;
$custom-light: #bac672;
$custom-dark: #000000;
JSON
{
  "hex": "#98ae31",
  "rgb": {
    "r": 152,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 70.56,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71069,
    "c": 0.14815,
    "h": 119.1
  },
  "luminance": 0.37169
}

Semantic roles & 50–950 ramp

primary
#98AE31
secondary
#8577C4
accent
#48DF63
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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