#98B142#98B142

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

Color values

HEX#98B142
RGBrgb(152, 177, 66)
HSLhsl(74, 46%, 48%)
HSVhsv(74, 63%, 69%)
CMYKcmyk(14.1%, 0%, 62.7%, 30.6%)
CIE-LABlab(68.40, -24.66, 52.29)
CIE-LCHlch(68.40, 57.82, 115.25°)
OKLaboklab(71.91% -0.0714 0.1198)
OKLCHoklch(71.91% 0.14 120.8)
XYZxyz(29.6548, 38.5131, 11.0247)
Luminance0.3851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B142 #5B42B1
analogous
#B19342 #98B142 #60B142
triadic
#98B142 #4298B1 #B14298
tetradic
#98B142 #42B193 #5B42B1 #B14260
square
#98B142 #42B193 #5B42B1 #B14260
split-complementary
#98B142 #4260B1 #9342B1
monochromatic
#4B5821 #728431 #98B142 #B2C769 #C9D896

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98B142#FFFFFF#000000##000000
##98B1421.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)
#BBA734
Deuteranopia (green-blind)
#B8A74A
Tritanopia (blue-blind)
#A0A89A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98b142;
/* rgb */ color: rgb(152, 177, 66);
/* oklch */ color: oklch(71.9% 0.140 120.8);
Tailwind
colors: {
  custom: {
    50: '#b9c87b',
    500: '#98b142',
    950: '#000000',
  },
}
SCSS
$custom: #98b142;
$custom-light: #b9c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#98b142",
  "rgb": {
    "r": 152,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 73.514,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71909,
    "c": 0.1395,
    "h": 120.8
  },
  "luminance": 0.38513
}

Semantic roles & 50–950 ramp

primary
#98B142
secondary
#988BC3
accent
#52D570
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #98B142

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

Preview Lab → · Contrast checker → · Palette generator →

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