#98B128#98B128

#98B128 is a light, vivid yellow-green. Relative luminance 0.383; OKLCH L 71.7% C 0.157 H 119.9°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#98B128
RGBrgb(152, 177, 40)
HSLhsl(71, 63%, 43%)
HSVhsv(71, 77%, 69%)
CMYKcmyk(14.1%, 0%, 77.4%, 30.6%)
CIE-LABlab(68.22, -26.20, 61.92)
CIE-LCHlch(68.22, 67.24, 112.94°)
OKLaboklab(71.71% -0.0781 0.136)
OKLCHoklch(71.71% 0.157 119.9)
XYZxyz(29.0546, 38.2730, 7.8639)
Luminance0.3827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B128 #4128B1
analogous
#B18628 #98B128 #53B128
triadic
#98B128 #2898B1 #B12898
tetradic
#98B128 #28B186 #4128B1 #B12853
square
#98B128 #28B186 #4128B1 #B12853
split-complementary
#98B128 #2853B1 #8628B1
monochromatic
#424D11 #6D7F1D #98B128 #BAD442 #CCE074

Accessibility & contrast

On white

2.43
#98B128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#98B128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B128
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B128#FFFFFF#000000##000000
##98B1281.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#A1A798
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #98b128;
/* rgb */ color: rgb(152, 177, 40);
/* oklch */ color: oklch(71.7% 0.157 119.9);
Tailwind
colors: {
  custom: {
    50: '#bac86e',
    500: '#98b128',
    950: '#000000',
  },
}
SCSS
$custom: #98b128;
$custom-light: #bac86e;
$custom-dark: #000000;
JSON
{
  "hex": "#98b128",
  "rgb": {
    "r": 152,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 70.949,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71711,
    "c": 0.15683,
    "h": 119.9
  },
  "luminance": 0.38273
}

Semantic roles & 50–950 ramp

primary
#98B128
secondary
#7E6EC7
accent
#42E660
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B128

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

Preview Lab → · Contrast checker → · Palette generator →

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