#98B22F#98B22F

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

Color values

HEX#98B22F
RGBrgb(152, 178, 47)
HSLhsl(72, 58%, 44%)
HSVhsv(72, 74%, 70%)
CMYKcmyk(14.6%, 0%, 73.6%, 30.2%)
CIE-LABlab(68.55, -26.35, 59.91)
CIE-LCHlch(68.55, 65.45, 113.74°)
OKLaboklab(71.99% -0.0779 0.133)
OKLCHoklch(71.99% 0.154 120.4)
XYZxyz(29.3829, 38.7215, 8.6148)
Luminance0.3872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B22F #492FB2
analogous
#B28B2F #98B22F #57B22F
triadic
#98B22F #2F98B2 #B22F98
tetradic
#98B22F #2FB28B #492FB2 #B22F57
square
#98B22F #2FB28B #492FB2 #B22F57
split-complementary
#98B22F #2F57B2 #8B2FB2
monochromatic
#455115 #6F8222 #98B22F #B6D04E #CADD7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98B22F#FFFFFF#000000##000000
##98B22F1.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)
#BDA715
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#A1A899
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #98b22f;
/* rgb */ color: rgb(152, 178, 47);
/* oklch */ color: oklch(72.0% 0.154 120.4);
Tailwind
colors: {
  custom: {
    50: '#bac971',
    500: '#98b22f',
    950: '#000000',
  },
}
SCSS
$custom: #98b22f;
$custom-light: #bac971;
$custom-dark: #000000;
JSON
{
  "hex": "#98b22f",
  "rgb": {
    "r": 152,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 71.908,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71987,
    "c": 0.15411,
    "h": 120.4
  },
  "luminance": 0.38721
}

Semantic roles & 50–950 ramp

primary
#98B22F
secondary
#8777C6
accent
#46E165
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B22F

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

Preview Lab → · Contrast checker → · Palette generator →

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