#98B235#98B235

#98B235 is a light, vivid yellow-green. Relative luminance 0.388; OKLCH L 72.0% C 0.150 H 120.6°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#98B235
RGBrgb(152, 178, 53)
HSLhsl(72, 54%, 45%)
HSVhsv(72, 70%, 70%)
CMYKcmyk(14.6%, 0%, 70.2%, 30.2%)
CIE-LABlab(68.59, -26.02, 57.77)
CIE-LCHlch(68.59, 63.36, 114.25°)
OKLaboklab(72.03% -0.0764 0.1295)
OKLCHoklch(72.03% 0.15 120.6)
XYZxyz(29.5124, 38.7733, 9.2967)
Luminance0.3877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B235 #4F35B2
analogous
#B28D35 #98B235 #59B235
triadic
#98B235 #3598B2 #B23598
tetradic
#98B235 #35B28D #4F35B2 #B23559
square
#98B235 #35B28D #4F35B2 #B23559
split-complementary
#98B235 #3559B2 #8D35B2
monochromatic
#475419 #708327 #98B235 #B5CD57 #C9DB86

Accessibility & contrast

On white

2.40
#98B235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#98B235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B235
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B235#FFFFFF#000000##000000
##98B2351.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA820
Deuteranopia (green-blind)
#BAA83F
Tritanopia (blue-blind)
#A0A999
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98b235;
/* rgb */ color: rgb(152, 178, 53);
/* oklch */ color: oklch(72.0% 0.150 120.6);
Tailwind
colors: {
  custom: {
    50: '#b9c974',
    500: '#98b235',
    950: '#000000',
  },
}
SCSS
$custom: #98b235;
$custom-light: #b9c974;
$custom-dark: #000000;
JSON
{
  "hex": "#98b235",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 72.48,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7203,
    "c": 0.15034,
    "h": 120.6
  },
  "luminance": 0.38773
}

Semantic roles & 50–950 ramp

primary
#98B235
secondary
#8D7EC5
accent
#4ADD69
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B235

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

Preview Lab → · Contrast checker → · Palette generator →

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