#98C145#98C145

#98C145 is a light, vivid yellow-green. Relative luminance 0.452; OKLCH L 75.7% C 0.158 H 125.6°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#98C145
RGBrgb(152, 193, 69)
HSLhsl(80, 50%, 51%)
HSVhsv(80, 64%, 76%)
CMYKcmyk(21.2%, 0%, 64.2%, 24.3%)
CIE-LABlab(73.05, -32.10, 56.03)
CIE-LCHlch(73.05, 64.57, 119.81°)
OKLaboklab(75.67% -0.0918 0.1281)
OKLCHoklch(75.67% 0.158 125.6)
XYZxyz(33.0932, 45.2446, 12.6187)
Luminance0.4525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98C145 #6E45C1
analogous
#C1AC45 #98C145 #5AC145
triadic
#98C145 #4598C1 #C14598
tetradic
#98C145 #45C1AC #6E45C1 #C1455A
square
#98C145 #45C1AC #6E45C1 #C1455A
split-complementary
#98C145 #455AC1 #AC45C1
monochromatic
#526923 #759732 #98C145 #B1D073 #CBE0A1

Accessibility & contrast

On white

2.09
#98C145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#98C145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98C145
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98C145#FFFFFF#000000##000000
##98C1451.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB535
Deuteranopia (green-blind)
#C5B34E
Tritanopia (blue-blind)
#9EB8A7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #98c145;
/* rgb */ color: rgb(152, 193, 69);
/* oklch */ color: oklch(75.7% 0.158 125.6);
Tailwind
colors: {
  custom: {
    50: '#b9d47e',
    500: '#98c145',
    950: '#000000',
  },
}
SCSS
$custom: #98c145;
$custom-light: #b9d47e;
$custom-dark: #000000;
JSON
{
  "hex": "#98c145",
  "rgb": {
    "r": 152,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 79.839,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75673,
    "c": 0.15759,
    "h": 125.6
  },
  "luminance": 0.45245
}

Semantic roles & 50–950 ramp

primary
#98C145
secondary
#A896CC
accent
#4EDA7C
background
#FBFDF8
surface
#F6FAEF
border
#D0D3CA
text
#12140A
muted
#81837C

Preview Lab

Preview with #98C145

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

Preview Lab → · Contrast checker → · Palette generator →

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