#98B140#98B140

#98B140 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.9% C 0.141 H 120.7°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#98B140
RGBrgb(152, 177, 64)
HSLhsl(73, 47%, 47%)
HSVhsv(73, 64%, 69%)
CMYKcmyk(14.1%, 0%, 63.8%, 30.6%)
CIE-LABlab(68.38, -24.81, 53.13)
CIE-LCHlch(68.38, 58.64, 115.03°)
OKLaboklab(71.89% -0.072 0.1213)
OKLCHoklch(71.89% 0.141 120.7)
XYZxyz(29.5968, 38.4899, 10.7196)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B140 #5940B1
analogous
#B19140 #98B140 #60B140
triadic
#98B140 #4098B1 #B14098
tetradic
#98B140 #40B191 #5940B1 #B14060
square
#98B140 #40B191 #5940B1 #B14060
split-complementary
#98B140 #4060B1 #9140B1
monochromatic
#4B571F #718430 #98B140 #B2C866 #C9D893

Accessibility & contrast

On white

2.41
#98B140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#98B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B140
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B140#FFFFFF#000000##000000
##98B1401.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA732
Deuteranopia (green-blind)
#B8A748
Tritanopia (blue-blind)
#A0A89A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98b140;
/* rgb */ color: rgb(152, 177, 64);
/* oklch */ color: oklch(71.9% 0.141 120.7);
Tailwind
colors: {
  custom: {
    50: '#b9c87a',
    500: '#98b140',
    950: '#000000',
  },
}
SCSS
$custom: #98b140;
$custom-light: #b9c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#98b140",
  "rgb": {
    "r": 152,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 73.274,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7189,
    "c": 0.14111,
    "h": 120.7
  },
  "luminance": 0.3849
}

Semantic roles & 50–950 ramp

primary
#98B140
secondary
#9689C3
accent
#51D76F
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #98B140

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

Preview Lab → · Contrast checker → · Palette generator →

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