#98BA3C#98BA3C

#98BA3C is a light, vivid yellow-green. Relative luminance 0.421; OKLCH L 74.0% C 0.155 H 123.3°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#98BA3C
RGBrgb(152, 186, 60)
HSLhsl(76, 51%, 48%)
HSVhsv(76, 68%, 73%)
CMYKcmyk(18.3%, 0%, 67.7%, 27.1%)
CIE-LABlab(70.95, -29.43, 57.47)
CIE-LCHlch(70.95, 64.57, 117.12°)
OKLaboklab(73.95% -0.0852 0.1299)
OKLCHoklch(73.95% 0.155 123.3)
XYZxyz(31.3237, 42.1193, 10.7537)
Luminance0.4212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA3C #5E3CBA
analogous
#BA9D3C #98BA3C #59BA3C
triadic
#98BA3C #3C98BA #BA3C98
tetradic
#98BA3C #3CBA9D #5E3CBA #BA3C59
square
#98BA3C #3CBA9D #5E3CBA #BA3C59
split-complementary
#98BA3C #3C59BA #9D3CBA
monochromatic
#4C5D1E #728C2D #98BA3C #B2CE66 #C9DC94

Accessibility & contrast

On white

2.23
#98BA3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#98BA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA3C
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA3C#FFFFFF#000000##000000
##98BA3C1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2A
Deuteranopia (green-blind)
#C0AD46
Tritanopia (blue-blind)
#9FB1A1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98ba3c;
/* rgb */ color: rgb(152, 186, 60);
/* oklch */ color: oklch(74.0% 0.155 123.3);
Tailwind
colors: {
  custom: {
    50: '#b9ce79',
    500: '#98ba3c',
    950: '#000000',
  },
}
SCSS
$custom: #98ba3c;
$custom-light: #b9ce79;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba3c",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 60
  },
  "hsl": {
    "h": 76.19,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73954,
    "c": 0.15536,
    "h": 123.3
  },
  "luminance": 0.42119
}

Semantic roles & 50–950 ramp

primary
#98BA3C
secondary
#9B8AC8
accent
#4DDB73
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#121309
muted
#81827B

Preview Lab

Preview with #98BA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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