#98B538#98B538

#98B538 is a light, vivid yellow-green. Relative luminance 0.400; OKLCH L 72.8% C 0.152 H 121.6°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#98B538
RGBrgb(152, 181, 56)
HSLhsl(74, 53%, 46%)
HSVhsv(74, 69%, 71%)
CMYKcmyk(16%, 0%, 69.1%, 29%)
CIE-LABlab(69.48, -27.29, 57.52)
CIE-LCHlch(69.48, 63.67, 115.38°)
OKLaboklab(72.75% -0.0797 0.1294)
OKLCHoklch(72.75% 0.152 121.6)
XYZxyz(30.1870, 40.0087, 9.8727)
Luminance0.4001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B538 #5538B5
analogous
#B59438 #98B538 #5AB538
triadic
#98B538 #3898B5 #B53898
tetradic
#98B538 #38B594 #5538B5 #B5385A
square
#98B538 #38B594 #5538B5 #B5385A
split-complementary
#98B538 #385AB5 #9438B5
monochromatic
#4A581B #71862A #98B538 #B3CD5D #C9DB8C

Accessibility & contrast

On white

2.33
#98B538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#98B538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B538
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B538#FFFFFF#000000##000000
##98B5381.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA25
Deuteranopia (green-blind)
#BCAA42
Tritanopia (blue-blind)
#A0AC9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #98b538;
/* rgb */ color: rgb(152, 181, 56);
/* oklch */ color: oklch(72.8% 0.152 121.6);
Tailwind
colors: {
  custom: {
    50: '#b9cb76',
    500: '#98b538',
    950: '#000000',
  },
}
SCSS
$custom: #98b538;
$custom-light: #b9cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#98b538",
  "rgb": {
    "r": 152,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 73.92,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72753,
    "c": 0.15196,
    "h": 121.6
  },
  "luminance": 0.40009
}

Semantic roles & 50–950 ramp

primary
#98B538
secondary
#9283C6
accent
#4CDC6D
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B538

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

Preview Lab → · Contrast checker → · Palette generator →

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