#98B028#98B028

#98B028 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.5% C 0.156 H 119.5°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#98B028
RGBrgb(152, 176, 40)
HSLhsl(71, 63%, 42%)
HSVhsv(71, 77%, 69%)
CMYKcmyk(13.6%, 0%, 77.3%, 31%)
CIE-LABlab(67.93, -25.72, 61.65)
CIE-LCHlch(67.93, 66.80, 112.64°)
OKLaboklab(71.48% -0.0767 0.1354)
OKLCHoklch(71.48% 0.156 119.5)
XYZxyz(28.8578, 37.8794, 7.7983)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B028 #4028B0
analogous
#B08428 #98B028 #54B028
triadic
#98B028 #2898B0 #B02898
tetradic
#98B028 #28B084 #4028B0 #B02854
square
#98B028 #28B084 #4028B0 #B02854
split-complementary
#98B028 #2854B0 #8428B0
monochromatic
#424C11 #6D7E1D #98B028 #BAD441 #CCDF73

Accessibility & contrast

On white

2.45
#98B028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#98B028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B028
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B028#FFFFFF#000000##000000
##98B0281.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA601
Deuteranopia (green-blind)
#B9A635
Tritanopia (blue-blind)
#A1A697
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #98b028;
/* rgb */ color: rgb(152, 176, 40);
/* oklch */ color: oklch(71.5% 0.156 119.5);
Tailwind
colors: {
  custom: {
    50: '#bac76e',
    500: '#98b028',
    950: '#000000',
  },
}
SCSS
$custom: #98b028;
$custom-light: #bac76e;
$custom-dark: #000000;
JSON
{
  "hex": "#98b028",
  "rgb": {
    "r": 152,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 70.588,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71478,
    "c": 0.15568,
    "h": 119.5
  },
  "luminance": 0.37879
}

Semantic roles & 50–950 ramp

primary
#98B028
secondary
#7D6DC6
accent
#42E65F
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #98B028

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

Preview Lab → · Contrast checker → · Palette generator →

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