#98B937#98B937

#98B937 is a light, vivid yellow-green. Relative luminance 0.416; OKLCH L 73.7% C 0.158 H 122.8°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#98B937
RGBrgb(152, 185, 55)
HSLhsl(75, 54%, 47%)
HSVhsv(75, 70%, 73%)
CMYKcmyk(17.8%, 0%, 70.3%, 27.5%)
CIE-LABlab(70.63, -29.27, 59.06)
CIE-LCHlch(70.63, 65.92, 116.36°)
OKLaboklab(73.68% -0.0852 0.1325)
OKLCHoklch(73.68% 0.158 122.8)
XYZxyz(30.9878, 41.6490, 10.0202)
Luminance0.4165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B937 #5837B9
analogous
#B99937 #98B937 #57B937
triadic
#98B937 #3798B9 #B93798
tetradic
#98B937 #37B999 #5837B9 #B93757
square
#98B937 #37B999 #5837B9 #B93757
split-complementary
#98B937 #3757B9 #9937B9
monochromatic
#4A5B1B #718A29 #98B937 #B2CF5E #C9DD8D

Accessibility & contrast

On white

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

On black

9.33
#98B937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B937
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B937#FFFFFF#000000##000000
##98B9371.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98b937;
/* rgb */ color: rgb(152, 185, 55);
/* oklch */ color: oklch(73.7% 0.158 122.8);
Tailwind
colors: {
  custom: {
    50: '#bace76',
    500: '#98b937',
    950: '#000000',
  },
}
SCSS
$custom: #98b937;
$custom-light: #bace76;
$custom-dark: #000000;
JSON
{
  "hex": "#98b937",
  "rgb": {
    "r": 152,
    "g": 185,
    "b": 55
  },
  "hsl": {
    "h": 75.231,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73681,
    "c": 0.15753,
    "h": 122.8
  },
  "luminance": 0.41649
}

Semantic roles & 50–950 ramp

primary
#98B937
secondary
#9584C8
accent
#4ADE70
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B937

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

Preview Lab → · Contrast checker → · Palette generator →

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