#98BA2A#98BA2A

#98BA2A is a light, vivid yellow-green. Relative luminance 0.420; OKLCH L 73.8% C 0.166 H 122.6°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#98BA2A
RGBrgb(152, 186, 42)
HSLhsl(74, 63%, 45%)
HSVhsv(74, 77%, 73%)
CMYKcmyk(18.3%, 0%, 77.4%, 27.1%)
CIE-LABlab(70.84, -30.43, 63.72)
CIE-LCHlch(70.84, 70.61, 115.52°)
OKLaboklab(73.83% -0.0895 0.1402)
OKLCHoklch(73.83% 0.166 122.6)
XYZxyz(30.9262, 41.9603, 8.6599)
Luminance0.4196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA2A #4C2ABA
analogous
#BA942A #98BA2A #50BA2A
triadic
#98BA2A #2A98BA #BA2A98
tetradic
#98BA2A #2ABA94 #4C2ABA #BA2A50
square
#98BA2A #2ABA94 #4C2ABA #BA2A50
split-complementary
#98BA2A #2A50BA #942ABA
monochromatic
#465613 #6F881F #98BA2A #B5D64B #CAE27D

Accessibility & contrast

On white

2.24
#98BA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#98BA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA2A
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA2A#FFFFFF#000000##000000
##98BA2A1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C1AD38
Tritanopia (blue-blind)
#A0B09F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #98ba2a;
/* rgb */ color: rgb(152, 186, 42);
/* oklch */ color: oklch(73.8% 0.166 122.6);
Tailwind
colors: {
  custom: {
    50: '#bace70',
    500: '#98ba2a',
    950: '#000000',
  },
}
SCSS
$custom: #98ba2a;
$custom-light: #bace70;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba2a",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 42
  },
  "hsl": {
    "h": 74.167,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73831,
    "c": 0.1663,
    "h": 122.6
  },
  "luminance": 0.4196
}

Semantic roles & 50–950 ramp

primary
#98BA2A
secondary
#8A76CA
accent
#42E668
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98BA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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