#98BA3D#98BA3D

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

Color values

HEX#98BA3D
RGBrgb(152, 186, 61)
HSLhsl(76, 51%, 48%)
HSVhsv(76, 67%, 73%)
CMYKcmyk(18.3%, 0%, 67.2%, 27.1%)
CIE-LABlab(70.96, -29.36, 57.08)
CIE-LCHlch(70.96, 64.19, 117.22°)
OKLaboklab(73.96% -0.085 0.1292)
OKLCHoklch(73.96% 0.155 123.3)
XYZxyz(31.3504, 42.1300, 10.8942)
Luminance0.4213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA3D #5F3DBA
analogous
#BA9D3D #98BA3D #59BA3D
triadic
#98BA3D #3D98BA #BA3D98
tetradic
#98BA3D #3DBA9D #5F3DBA #BA3D59
square
#98BA3D #3DBA9D #5F3DBA #BA3D59
split-complementary
#98BA3D #3D59BA #9D3DBA
monochromatic
#4D5E1F #728C2E #98BA3D #B1CD67 #C9DC95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98BA3D#FFFFFF#000000##000000
##98BA3D1.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)
#C4AF2B
Deuteranopia (green-blind)
#C0AD47
Tritanopia (blue-blind)
#9FB1A1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #98ba3d;
/* rgb */ color: rgb(152, 186, 61);
/* oklch */ color: oklch(74.0% 0.155 123.3);
Tailwind
colors: {
  custom: {
    50: '#b9ce79',
    500: '#98ba3d',
    950: '#000000',
  },
}
SCSS
$custom: #98ba3d;
$custom-light: #b9ce79;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba3d",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 61
  },
  "hsl": {
    "h": 76.32,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73962,
    "c": 0.15465,
    "h": 123.3
  },
  "luminance": 0.4213
}

Semantic roles & 50–950 ramp

primary
#98BA3D
secondary
#9C8BC8
accent
#4EDA74
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#121309
muted
#81827B

Preview Lab

Preview with #98BA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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