#98B233#98B233

#98B233 is a light, vivid yellow-green. Relative luminance 0.388; 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#98B233
RGBrgb(152, 178, 51)
HSLhsl(72, 55%, 45%)
HSVhsv(72, 71%, 70%)
CMYKcmyk(14.6%, 0%, 71.3%, 30.2%)
CIE-LABlab(68.57, -26.14, 58.50)
CIE-LCHlch(68.57, 64.08, 114.07°)
OKLaboklab(72.02% -0.077 0.1307)
OKLCHoklch(72.02% 0.152 120.5)
XYZxyz(29.4673, 38.7553, 9.0595)
Luminance0.3876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B233 #4D33B2
analogous
#B28C33 #98B233 #59B233
triadic
#98B233 #3398B2 #B23398
tetradic
#98B233 #33B28C #4D33B2 #B23359
square
#98B233 #33B28C #4D33B2 #B23359
split-complementary
#98B233 #3359B2 #8C33B2
monochromatic
#475318 #6F8225 #98B233 #B5CE54 #CADC84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98B233#FFFFFF#000000##000000
##98B2331.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)
#BDA81D
Deuteranopia (green-blind)
#BAA73E
Tritanopia (blue-blind)
#A1A999
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98b233;
/* rgb */ color: rgb(152, 178, 51);
/* oklch */ color: oklch(72.0% 0.152 120.5);
Tailwind
colors: {
  custom: {
    50: '#bac973',
    500: '#98b233',
    950: '#000000',
  },
}
SCSS
$custom: #98b233;
$custom-light: #bac973;
$custom-dark: #000000;
JSON
{
  "hex": "#98b233",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 72.283,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72015,
    "c": 0.15165,
    "h": 120.5
  },
  "luminance": 0.38755
}

Semantic roles & 50–950 ramp

primary
#98B233
secondary
#8B7CC5
accent
#49DF68
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #98B233

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

Preview Lab → · Contrast checker → · Palette generator →

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