#98B22A#98B22A

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

Color values

HEX#98B22A
RGBrgb(152, 178, 42)
HSLhsl(71, 62%, 43%)
HSVhsv(71, 76%, 70%)
CMYKcmyk(14.6%, 0%, 76.4%, 30.2%)
CIE-LABlab(68.52, -26.60, 61.56)
CIE-LCHlch(68.52, 67.06, 113.37°)
OKLaboklab(71.96% -0.079 0.1356)
OKLCHoklch(71.96% 0.157 120.2)
XYZxyz(29.2878, 38.6835, 8.1138)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B22A #442AB2
analogous
#B2882A #98B22A #54B22A
triadic
#98B22A #2A98B2 #B22A98
tetradic
#98B22A #2AB288 #442AB2 #B22A54
square
#98B22A #2AB288 #442AB2 #B22A54
split-complementary
#98B22A #2A54B2 #882AB2
monochromatic
#434F13 #6E801E #98B22A #B8D346 #CBDF77

Accessibility & contrast

On white

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

On black

8.74
#98B22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B22A
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B22A#FFFFFF#000000##000000
##98B22A1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA706
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#A1A899
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98b22a;
/* rgb */ color: rgb(152, 178, 42);
/* oklch */ color: oklch(72.0% 0.157 120.2);
Tailwind
colors: {
  custom: {
    50: '#bac96f',
    500: '#98b22a',
    950: '#000000',
  },
}
SCSS
$custom: #98b22a;
$custom-light: #bac96f;
$custom-dark: #000000;
JSON
{
  "hex": "#98b22a",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 42
  },
  "hsl": {
    "h": 71.471,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71956,
    "c": 0.15694,
    "h": 120.2
  },
  "luminance": 0.38683
}

Semantic roles & 50–950 ramp

primary
#98B22A
secondary
#8171C7
accent
#43E562
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B22A

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

Preview Lab → · Contrast checker → · Palette generator →

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