#98BD2A#98BD2A

#98BD2A is a light, vivid yellow-green. Relative luminance 0.432; OKLCH L 74.5% C 0.170 H 123.3°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#98BD2A
RGBrgb(152, 189, 42)
HSLhsl(75, 64%, 45%)
HSVhsv(75, 78%, 74%)
CMYKcmyk(19.6%, 0%, 77.8%, 25.9%)
CIE-LABlab(71.72, -31.83, 64.53)
CIE-LCHlch(71.72, 71.95, 116.26°)
OKLaboklab(74.54% -0.0933 0.1419)
OKLCHoklch(74.54% 0.17 123.3)
XYZxyz(31.5648, 43.2376, 8.8728)
Luminance0.4324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BD2A #4F2ABD
analogous
#BD982A #98BD2A #4FBD2A
triadic
#98BD2A #2A98BD #BD2A98
tetradic
#98BD2A #2ABD98 #4F2ABD #BD2A4F
square
#98BD2A #2ABD98 #4F2ABD #BD2A4F
split-complementary
#98BD2A #2A4FBD #982ABD
monochromatic
#475914 #708B1F #98BD2A #B5D74D #C9E37F

Accessibility & contrast

On white

2.18
#98BD2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#98BD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BD2A
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BD2A#FFFFFF#000000##000000
##98BD2A1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#A0B3A2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #98bd2a;
/* rgb */ color: rgb(152, 189, 42);
/* oklch */ color: oklch(74.5% 0.170 123.3);
Tailwind
colors: {
  custom: {
    50: '#bad170',
    500: '#98bd2a',
    950: '#000000',
  },
}
SCSS
$custom: #98bd2a;
$custom-light: #bad170;
$custom-dark: #000000;
JSON
{
  "hex": "#98bd2a",
  "rgb": {
    "r": 152,
    "g": 189,
    "b": 42
  },
  "hsl": {
    "h": 75.102,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74536,
    "c": 0.16982,
    "h": 123.3
  },
  "luminance": 0.43238
}

Semantic roles & 50–950 ramp

primary
#98BD2A
secondary
#8D78CB
accent
#41E76B
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121408
muted
#81827B

Preview Lab

Preview with #98BD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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