#98B225#98B225

#98B225 is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 71.9% C 0.159 H 120.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#98B225
RGBrgb(152, 178, 37)
HSLhsl(71, 66%, 42%)
HSVhsv(71, 79%, 70%)
CMYKcmyk(14.6%, 0%, 79.2%, 30.2%)
CIE-LABlab(68.50, -26.82, 63.08)
CIE-LCHlch(68.50, 68.54, 113.03°)
OKLaboklab(71.93% -0.08 0.138)
OKLCHoklch(71.93% 0.159 120.1)
XYZxyz(29.2038, 38.6499, 7.6716)
Luminance0.3865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B225 #3F25B2
analogous
#B28625 #98B225 #52B225
triadic
#98B225 #2598B2 #B22598
tetradic
#98B225 #25B286 #3F25B2 #B22552
square
#98B225 #25B286 #3F25B2 #B22552
split-complementary
#98B225 #2552B2 #8625B2
monochromatic
#414D10 #6D7F1A #98B225 #BAD73D #CCE170

Accessibility & contrast

On white

2.41
#98B225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#98B225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B225
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B225#FFFFFF#000000##000000
##98B2251.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BBA733
Tritanopia (blue-blind)
#A1A898
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98b225;
/* rgb */ color: rgb(152, 178, 37);
/* oklch */ color: oklch(71.9% 0.159 120.1);
Tailwind
colors: {
  custom: {
    50: '#bac96c',
    500: '#98b225',
    950: '#000000',
  },
}
SCSS
$custom: #98b225;
$custom-light: #bac96c;
$custom-dark: #000000;
JSON
{
  "hex": "#98b225",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 37
  },
  "hsl": {
    "h": 71.064,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71929,
    "c": 0.15948,
    "h": 120.1
  },
  "luminance": 0.3865
}

Semantic roles & 50–950 ramp

primary
#98B225
secondary
#7C6BC8
accent
#3FE95E
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #98B225

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

Preview Lab → · Contrast checker → · Palette generator →

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