#98BA2F#98BA2F

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

Color values

HEX#98BA2F
RGBrgb(152, 186, 47)
HSLhsl(75, 60%, 46%)
HSVhsv(75, 75%, 73%)
CMYKcmyk(18.3%, 0%, 74.7%, 27.1%)
CIE-LABlab(70.87, -30.19, 62.14)
CIE-LCHlch(70.87, 69.08, 115.91°)
OKLaboklab(73.86% -0.0884 0.1377)
OKLCHoklch(73.86% 0.164 122.7)
XYZxyz(31.0213, 41.9983, 9.1610)
Luminance0.4200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA2F #512FBA
analogous
#BA962F #98BA2F #52BA2F
triadic
#98BA2F #2F98BA #BA2F98
tetradic
#98BA2F #2FBA96 #512FBA #BA2F52
square
#98BA2F #2FBA96 #512FBA #BA2F52
split-complementary
#98BA2F #2F52BA #962FBA
monochromatic
#485816 #708923 #98BA2F #B4D353 #C9E084

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98BA2F#FFFFFF#000000##000000
##98BA2F1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE10
Deuteranopia (green-blind)
#C1AD3C
Tritanopia (blue-blind)
#A0B0A0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #98ba2f;
/* rgb */ color: rgb(152, 186, 47);
/* oklch */ color: oklch(73.9% 0.164 122.7);
Tailwind
colors: {
  custom: {
    50: '#bace72',
    500: '#98ba2f',
    950: '#000000',
  },
}
SCSS
$custom: #98ba2f;
$custom-light: #bace72;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba2f",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 74.676,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7386,
    "c": 0.16362,
    "h": 122.7
  },
  "luminance": 0.41998
}

Semantic roles & 50–950 ramp

primary
#98BA2F
secondary
#8F7CC9
accent
#45E36C
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98BA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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