#98B122#98B122

#98B122 is a light, vivid yellow-green. Relative luminance 0.382; OKLCH L 71.7% C 0.160 H 119.7°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#98B122
RGBrgb(152, 177, 34)
HSLhsl(70, 68%, 41%)
HSVhsv(70, 81%, 69%)
CMYKcmyk(14.1%, 0%, 80.8%, 30.6%)
CIE-LABlab(68.19, -26.45, 63.66)
CIE-LCHlch(68.19, 68.94, 112.56°)
OKLaboklab(71.68% -0.0792 0.1387)
OKLCHoklch(71.68% 0.16 119.7)
XYZxyz(28.9604, 38.2353, 7.3676)
Luminance0.3824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B122 #3B22B1
analogous
#B18322 #98B122 #50B122
triadic
#98B122 #2298B1 #B12298
tetradic
#98B122 #22B183 #3B22B1 #B12250
square
#98B122 #22B183 #3B22B1 #B12250
split-complementary
#98B122 #2250B1 #8322B1
monochromatic
#404A0E #6C7E18 #98B122 #BDD938 #CEE36B

Accessibility & contrast

On white

2.43
#98B122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#98B122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B122
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B122#FFFFFF#000000##000000
##98B1221.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BAA731
Tritanopia (blue-blind)
#A1A797
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #98b122;
/* rgb */ color: rgb(152, 177, 34);
/* oklch */ color: oklch(71.7% 0.160 119.7);
Tailwind
colors: {
  custom: {
    50: '#bac86b',
    500: '#98b122',
    950: '#000000',
  },
}
SCSS
$custom: #98b122;
$custom-light: #bac86b;
$custom-dark: #000000;
JSON
{
  "hex": "#98b122",
  "rgb": {
    "r": 152,
    "g": 177,
    "b": 34
  },
  "hsl": {
    "h": 70.49,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.7168,
    "c": 0.15971,
    "h": 119.7
  },
  "luminance": 0.38235
}

Semantic roles & 50–950 ramp

primary
#98B122
secondary
#7766C9
accent
#3DEB5B
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98B122

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

Preview Lab → · Contrast checker → · Palette generator →

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