#98B232#98B232

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

Color values

HEX#98B232
RGBrgb(152, 178, 50)
HSLhsl(72, 56%, 45%)
HSVhsv(72, 72%, 70%)
CMYKcmyk(14.6%, 0%, 71.9%, 30.2%)
CIE-LABlab(68.57, -26.19, 58.86)
CIE-LCHlch(68.57, 64.43, 113.99°)
OKLaboklab(72.01% -0.0772 0.1313)
OKLCHoklch(72.01% 0.152 120.5)
XYZxyz(29.4455, 38.7466, 8.9446)
Luminance0.3875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B232 #4C32B2
analogous
#B28C32 #98B232 #58B232
triadic
#98B232 #3298B2 #B23298
tetradic
#98B232 #32B28C #4C32B2 #B23258
square
#98B232 #32B28C #4C32B2 #B23258
split-complementary
#98B232 #3258B2 #8C32B2
monochromatic
#465217 #6F8225 #98B232 #B5CF53 #CADC82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98B232#FFFFFF#000000##000000
##98B2321.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)
#BDA81B
Deuteranopia (green-blind)
#BAA73D
Tritanopia (blue-blind)
#A1A999
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98b232;
/* rgb */ color: rgb(152, 178, 50);
/* oklch */ color: oklch(72.0% 0.152 120.5);
Tailwind
colors: {
  custom: {
    50: '#bac973',
    500: '#98b232',
    950: '#000000',
  },
}
SCSS
$custom: #98b232;
$custom-light: #bac973;
$custom-dark: #000000;
JSON
{
  "hex": "#98b232",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 72.188,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72008,
    "c": 0.15228,
    "h": 120.5
  },
  "luminance": 0.38746
}

Semantic roles & 50–950 ramp

primary
#98B232
secondary
#8A7BC5
accent
#48DF67
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B232

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

Preview Lab → · Contrast checker → · Palette generator →

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