#98BA3F#98BA3F

#98BA3F is a light, vivid yellow-green. Relative luminance 0.422; OKLCH L 74.0% C 0.153 H 123.4°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#98BA3F
RGBrgb(152, 186, 63)
HSLhsl(77, 49%, 49%)
HSVhsv(77, 66%, 73%)
CMYKcmyk(18.3%, 0%, 66.1%, 27.1%)
CIE-LABlab(70.98, -29.23, 56.30)
CIE-LCHlch(70.98, 63.43, 117.44°)
OKLaboklab(73.98% -0.0844 0.1279)
OKLCHoklch(73.98% 0.153 123.4)
XYZxyz(31.4053, 42.1519, 11.1833)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA3F #613FBA
analogous
#BA9F3F #98BA3F #5BBA3F
triadic
#98BA3F #3F98BA #BA3F98
tetradic
#98BA3F #3FBA9F #613FBA #BA3F5B
square
#98BA3F #3FBA9F #613FBA #BA3F5B
split-complementary
#98BA3F #3F5BBA #9F3FBA
monochromatic
#4D5F20 #738C30 #98BA3F #B1CC6A #C9DC97

Accessibility & contrast

On white

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

On black

9.43
#98BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA3F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA3F#FFFFFF#000000##000000
##98BA3F1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98ba3f;
/* rgb */ color: rgb(152, 186, 63);
/* oklch */ color: oklch(74.0% 0.153 123.4);
Tailwind
colors: {
  custom: {
    50: '#b9ce7a',
    500: '#98ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #98ba3f;
$custom-light: #b9ce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba3f",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 76.585,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73979,
    "c": 0.1532,
    "h": 123.4
  },
  "luminance": 0.42152
}

Semantic roles & 50–950 ramp

primary
#98BA3F
secondary
#9D8DC8
accent
#4FD975
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #98BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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