#98C138#98C138

#98C138 is a light, vivid yellow-green. Relative luminance 0.451; OKLCH L 75.6% C 0.167 H 124.9°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#98C138
RGBrgb(152, 193, 56)
HSLhsl(78, 55%, 49%)
HSVhsv(78, 71%, 76%)
CMYKcmyk(21.2%, 0%, 71%, 24.3%)
CIE-LABlab(72.96, -32.97, 61.02)
CIE-LCHlch(72.96, 69.36, 118.38°)
OKLaboklab(75.57% -0.0953 0.1367)
OKLCHoklch(75.57% 0.167 124.9)
XYZxyz(32.7329, 45.1005, 10.7214)
Luminance0.4510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C138 #6138C1
analogous
#C1A638 #98C138 #54C138
triadic
#98C138 #3898C1 #C13898
tetradic
#98C138 #38C1A6 #6138C1 #C13854
square
#98C138 #38C1A6 #6138C1 #C13854
split-complementary
#98C138 #3854C1 #A638C1
monochromatic
#4D621C #73922A #98C138 #B1D264 #C9E094

Accessibility & contrast

On white

2.10
#98C138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#98C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C138
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C138#FFFFFF#000000##000000
##98C1381.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB420
Deuteranopia (green-blind)
#C6B344
Tritanopia (blue-blind)
#9FB8A6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #98c138;
/* rgb */ color: rgb(152, 193, 56);
/* oklch */ color: oklch(75.6% 0.167 124.9);
Tailwind
colors: {
  custom: {
    50: '#bad477',
    500: '#98c138',
    950: '#000000',
  },
}
SCSS
$custom: #98c138;
$custom-light: #bad477;
$custom-dark: #000000;
JSON
{
  "hex": "#98c138",
  "rgb": {
    "r": 152,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 77.956,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75566,
    "c": 0.16669,
    "h": 124.9
  },
  "luminance": 0.45101
}

Semantic roles & 50–950 ramp

primary
#98C138
secondary
#9D8ACB
accent
#49DE76
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#121409
muted
#81827B

Preview Lab

Preview with #98C138

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

Preview Lab → · Contrast checker → · Palette generator →

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