#98AC38#98AC38

#98AC38 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.7% C 0.141 H 118.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#98AC38
RGBrgb(152, 172, 56)
HSLhsl(70, 51%, 45%)
HSVhsv(70, 67%, 67%)
CMYKcmyk(11.6%, 0%, 67.4%, 32.5%)
CIE-LABlab(66.87, -22.89, 54.86)
CIE-LCHlch(66.87, 59.45, 112.64°)
OKLaboklab(70.66% -0.0675 0.1238)
OKLCHoklch(70.66% 0.141 118.6)
XYZxyz(28.4158, 36.4662, 9.2823)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AC38 #4C38AC
analogous
#AC8638 #98AC38 #5EAC38
triadic
#98AC38 #3898AC #AC3898
tetradic
#98AC38 #38AC86 #4C38AC #AC385E
square
#98AC38 #38AC86 #4C38AC #AC385E
split-complementary
#98AC38 #385EAC #8638AC
monochromatic
#46501A #6F7E29 #98AC38 #B5C958 #CAD887

Accessibility & contrast

On white

2.53
#98AC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#98AC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AC38
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AC38#FFFFFF#000000##000000
##98AC381.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A327
Deuteranopia (green-blind)
#B5A341
Tritanopia (blue-blind)
#A1A395
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #98ac38;
/* rgb */ color: rgb(152, 172, 56);
/* oklch */ color: oklch(70.7% 0.141 118.6);
Tailwind
colors: {
  custom: {
    50: '#b9c475',
    500: '#98ac38',
    950: '#000000',
  },
}
SCSS
$custom: #98ac38;
$custom-light: #b9c475;
$custom-dark: #000000;
JSON
{
  "hex": "#98ac38",
  "rgb": {
    "r": 152,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 70.345,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70658,
    "c": 0.14101,
    "h": 118.6
  },
  "luminance": 0.36466
}

Semantic roles & 50–950 ramp

primary
#98AC38
secondary
#8A7EC2
accent
#4DDA66
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121209
muted
#81817B

Preview Lab

Preview with #98AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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