#98B830#98B830

#98B830 is a light, vivid yellow-green. Relative luminance 0.412; OKLCH L 73.4% C 0.161 H 122.2°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#98B830
RGBrgb(152, 184, 48)
HSLhsl(74, 59%, 45%)
HSVhsv(74, 74%, 72%)
CMYKcmyk(17.4%, 0%, 73.9%, 27.8%)
CIE-LABlab(70.29, -29.19, 61.25)
CIE-LCHlch(70.29, 67.85, 115.48°)
OKLaboklab(73.4% -0.0856 0.1359)
OKLCHoklch(73.4% 0.161 122.2)
XYZxyz(30.6233, 41.1697, 9.1290)
Luminance0.4117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B830 #5030B8
analogous
#B89430 #98B830 #54B830
triadic
#98B830 #3098B8 #B83098
tetradic
#98B830 #30B894 #5030B8 #B83054
square
#98B830 #30B894 #5030B8 #B83054
split-complementary
#98B830 #3054B8 #9430B8
monochromatic
#485717 #708723 #98B830 #B4D253 #C9DF84

Accessibility & contrast

On white

2.27
#98B830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#98B830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B830
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B830#FFFFFF#000000##000000
##98B8301.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD14
Deuteranopia (green-blind)
#BFAC3C
Tritanopia (blue-blind)
#A0AE9E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #98b830;
/* rgb */ color: rgb(152, 184, 48);
/* oklch */ color: oklch(73.4% 0.161 122.2);
Tailwind
colors: {
  custom: {
    50: '#bacd72',
    500: '#98b830',
    950: '#000000',
  },
}
SCSS
$custom: #98b830;
$custom-light: #bacd72;
$custom-dark: #000000;
JSON
{
  "hex": "#98b830",
  "rgb": {
    "r": 152,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 74.118,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73397,
    "c": 0.16066,
    "h": 122.2
  },
  "luminance": 0.4117
}

Semantic roles & 50–950 ramp

primary
#98B830
secondary
#8E7CC8
accent
#46E26B
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B830

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

Preview Lab → · Contrast checker → · Palette generator →

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