#98B93B#98B93B

#98B93B is a light, vivid yellow-green. Relative luminance 0.417; OKLCH L 73.7% C 0.155 H 122.9°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#98B93B
RGBrgb(152, 185, 59)
HSLhsl(76, 52%, 48%)
HSVhsv(76, 68%, 73%)
CMYKcmyk(17.8%, 0%, 68.1%, 27.5%)
CIE-LABlab(70.66, -29.02, 57.56)
CIE-LCHlch(70.66, 64.46, 116.76°)
OKLaboklab(73.71% -0.0842 0.1299)
OKLCHoklch(73.71% 0.155 122.9)
XYZxyz(31.0876, 41.6890, 10.5458)
Luminance0.4169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B93B #5C3BB9
analogous
#B99B3B #98B93B #59B93B
triadic
#98B93B #3B98B9 #B93B98
tetradic
#98B93B #3BB99B #5C3BB9 #B93B59
square
#98B93B #3BB99B #5C3BB9 #B93B59
split-complementary
#98B93B #3B59B9 #9B3BB9
monochromatic
#4C5C1D #728B2C #98B93B #B2CD64 #C9DC92

Accessibility & contrast

On white

2.25
#98B93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#98B93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B93B
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B93B#FFFFFF#000000##000000
##98B93B1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98b93b;
/* rgb */ color: rgb(152, 185, 59);
/* oklch */ color: oklch(73.7% 0.155 122.9);
Tailwind
colors: {
  custom: {
    50: '#b9ce78',
    500: '#98b93b',
    950: '#000000',
  },
}
SCSS
$custom: #98b93b;
$custom-light: #b9ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#98b93b",
  "rgb": {
    "r": 152,
    "g": 185,
    "b": 59
  },
  "hsl": {
    "h": 75.714,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73712,
    "c": 0.15482,
    "h": 122.9
  },
  "luminance": 0.41689
}

Semantic roles & 50–950 ramp

primary
#98B93B
secondary
#9988C7
accent
#4DDB72
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#121309
muted
#81827B

Preview Lab

Preview with #98B93B

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

Preview Lab → · Contrast checker → · Palette generator →

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