#98B423#98B423

#98B423 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.4% C 0.163 H 120.7°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#98B423
RGBrgb(152, 180, 35)
HSLhsl(72, 67%, 42%)
HSVhsv(72, 81%, 71%)
CMYKcmyk(15.6%, 0%, 80.6%, 29.4%)
CIE-LABlab(69.07, -27.86, 64.16)
CIE-LCHlch(69.07, 69.95, 113.47°)
OKLaboklab(72.39% -0.083 0.1399)
OKLCHoklch(72.39% 0.163 120.7)
XYZxyz(29.5741, 39.4393, 7.6443)
Luminance0.3944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B423 #3F23B4
analogous
#B48723 #98B423 #50B423
triadic
#98B423 #2398B4 #B42398
tetradic
#98B423 #23B487 #3F23B4 #B42350
square
#98B423 #23B487 #3F23B4 #B42350
split-complementary
#98B423 #2350B4 #8723B4
monochromatic
#414E0F #6D8119 #98B423 #BAD93B #CCE36E

Accessibility & contrast

On white

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

On black

8.89
#98B423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B423
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B423#FFFFFF#000000##000000
##98B4231.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BCA932
Tritanopia (blue-blind)
#A1AA9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98b423;
/* rgb */ color: rgb(152, 180, 35);
/* oklch */ color: oklch(72.4% 0.163 120.7);
Tailwind
colors: {
  custom: {
    50: '#baca6c',
    500: '#98b423',
    950: '#000000',
  },
}
SCSS
$custom: #98b423;
$custom-light: #baca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#98b423",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 35
  },
  "hsl": {
    "h": 71.586,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72387,
    "c": 0.16268,
    "h": 120.7
  },
  "luminance": 0.39439
}

Semantic roles & 50–950 ramp

primary
#98B423
secondary
#7C69C9
accent
#3DEA5F
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #98B423

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

Preview Lab → · Contrast checker → · Palette generator →

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