#98BA2C#98BA2C

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

Color values

HEX#98BA2C
RGBrgb(152, 186, 44)
HSLhsl(74, 62%, 45%)
HSVhsv(74, 76%, 73%)
CMYKcmyk(18.3%, 0%, 76.3%, 27.1%)
CIE-LABlab(70.85, -30.33, 63.10)
CIE-LCHlch(70.85, 70.01, 115.67°)
OKLaboklab(73.84% -0.0891 0.1392)
OKLCHoklch(73.84% 0.165 122.6)
XYZxyz(30.9629, 41.9749, 8.8532)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA2C #4E2CBA
analogous
#BA952C #98BA2C #51BA2C
triadic
#98BA2C #2C98BA #BA2C98
tetradic
#98BA2C #2CBA95 #4E2CBA #BA2C51
square
#98BA2C #2CBA95 #4E2CBA #BA2C51
split-complementary
#98BA2C #2C51BA #952CBA
monochromatic
#475715 #708920 #98BA2C #B5D54E #CAE180

Accessibility & contrast

On white

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

On black

9.40
#98BA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA2C
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA2C#FFFFFF#000000##000000
##98BA2C1.002.249.409.40
#FFFFFF2.241.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98ba2c;
/* rgb */ color: rgb(152, 186, 44);
/* oklch */ color: oklch(73.8% 0.165 122.6);
Tailwind
colors: {
  custom: {
    50: '#bace71',
    500: '#98ba2c',
    950: '#000000',
  },
}
SCSS
$custom: #98ba2c;
$custom-light: #bace71;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba2c",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 74.366,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73842,
    "c": 0.16525,
    "h": 122.6
  },
  "luminance": 0.41975
}

Semantic roles & 50–950 ramp

primary
#98BA2C
secondary
#8C78CA
accent
#43E56A
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98BA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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