#98B738#98B738

#98B738 is a light, vivid yellow-green. Relative luminance 0.408; OKLCH L 73.2% C 0.154 H 122.2°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#98B738
RGBrgb(152, 183, 56)
HSLhsl(75, 53%, 47%)
HSVhsv(75, 69%, 72%)
CMYKcmyk(16.9%, 0%, 69.4%, 28.2%)
CIE-LABlab(70.06, -28.25, 58.11)
CIE-LCHlch(70.06, 64.61, 115.93°)
OKLaboklab(73.22% -0.0824 0.1306)
OKLCHoklch(73.22% 0.154 122.2)
XYZxyz(30.5966, 40.8278, 10.0093)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B738 #5738B7
analogous
#B79738 #98B738 #58B738
triadic
#98B738 #3898B7 #B73898
tetradic
#98B738 #38B797 #5738B7 #B73858
square
#98B738 #38B797 #5738B7 #B73858
split-complementary
#98B738 #3858B7 #9738B7
monochromatic
#4A591B #71882A #98B738 #B3CE5E #C9DC8D

Accessibility & contrast

On white

2.29
#98B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#98B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B738
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B738#FFFFFF#000000##000000
##98B7381.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC24
Deuteranopia (green-blind)
#BEAB42
Tritanopia (blue-blind)
#A0AE9E
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #98b738;
/* rgb */ color: rgb(152, 183, 56);
/* oklch */ color: oklch(73.2% 0.154 122.2);
Tailwind
colors: {
  custom: {
    50: '#b9cc76',
    500: '#98b738',
    950: '#000000',
  },
}
SCSS
$custom: #98b738;
$custom-light: #b9cc76;
$custom-dark: #000000;
JSON
{
  "hex": "#98b738",
  "rgb": {
    "r": 152,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 74.646,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7322,
    "c": 0.15442,
    "h": 122.2
  },
  "luminance": 0.40828
}

Semantic roles & 50–950 ramp

primary
#98B738
secondary
#9484C7
accent
#4BDD6F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B738

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

Preview Lab → · Contrast checker → · Palette generator →

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