#98B431#98B431

#98B431 is a light, vivid yellow-green. Relative luminance 0.395; OKLCH L 72.5% C 0.155 H 121.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#98B431
RGBrgb(152, 180, 49)
HSLhsl(73, 57%, 45%)
HSVhsv(73, 73%, 71%)
CMYKcmyk(15.6%, 0%, 72.8%, 29.4%)
CIE-LABlab(69.14, -27.22, 59.78)
CIE-LCHlch(69.14, 65.69, 114.48°)
OKLaboklab(72.47% -0.0801 0.133)
OKLCHoklch(72.47% 0.155 121.1)
XYZxyz(29.8250, 39.5397, 8.9658)
Luminance0.3954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B431 #4D31B4
analogous
#B48E31 #98B431 #57B431
triadic
#98B431 #3198B4 #B43198
tetradic
#98B431 #31B48E #4D31B4 #B43157
square
#98B431 #31B48E #4D31B4 #B43157
split-complementary
#98B431 #3157B4 #8E31B4
monochromatic
#475417 #6F8424 #98B431 #B5D052 #CADD82

Accessibility & contrast

On white

2.36
#98B431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#98B431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B431
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B431#FFFFFF#000000##000000
##98B4311.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA918
Deuteranopia (green-blind)
#BCA93C
Tritanopia (blue-blind)
#A0AB9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98b431;
/* rgb */ color: rgb(152, 180, 49);
/* oklch */ color: oklch(72.5% 0.155 121.1);
Tailwind
colors: {
  custom: {
    50: '#baca72',
    500: '#98b431',
    950: '#000000',
  },
}
SCSS
$custom: #98b431;
$custom-light: #baca72;
$custom-dark: #000000;
JSON
{
  "hex": "#98b431",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 72.824,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72468,
    "c": 0.15529,
    "h": 121.1
  },
  "luminance": 0.3954
}

Semantic roles & 50–950 ramp

primary
#98B431
secondary
#8B7BC6
accent
#47E068
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B431

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

Preview Lab → · Contrast checker → · Palette generator →

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