#98B62A#98B62A

#98B62A is a light, vivid yellow-green. Relative luminance 0.403; OKLCH L 72.9% C 0.162 H 121.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#98B62A
RGBrgb(152, 182, 42)
HSLhsl(73, 63%, 44%)
HSVhsv(73, 77%, 71%)
CMYKcmyk(16.5%, 0%, 76.9%, 28.6%)
CIE-LABlab(69.68, -28.52, 62.64)
CIE-LCHlch(69.68, 68.83, 114.48°)
OKLaboklab(72.89% -0.0843 0.1379)
OKLCHoklch(72.89% 0.162 121.4)
XYZxyz(30.0953, 40.2985, 8.3829)
Luminance0.4030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B62A #482AB6
analogous
#B68E2A #98B62A #52B62A
triadic
#98B62A #2A98B6 #B62A98
tetradic
#98B62A #2AB68E #482AB6 #B62A52
square
#98B62A #2AB68E #482AB6 #B62A52
split-complementary
#98B62A #2A52B6 #8E2AB6
monochromatic
#455313 #6E841F #98B62A #B7D548 #CAE07A

Accessibility & contrast

On white

2.32
#98B62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#98B62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B62A
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B62A#FFFFFF#000000##000000
##98B62A1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB02
Deuteranopia (green-blind)
#BEAA37
Tritanopia (blue-blind)
#A1AC9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #98b62a;
/* rgb */ color: rgb(152, 182, 42);
/* oklch */ color: oklch(72.9% 0.162 121.4);
Tailwind
colors: {
  custom: {
    50: '#bacc6f',
    500: '#98b62a',
    950: '#000000',
  },
}
SCSS
$custom: #98b62a;
$custom-light: #bacc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#98b62a",
  "rgb": {
    "r": 152,
    "g": 182,
    "b": 42
  },
  "hsl": {
    "h": 72.857,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72892,
    "c": 0.16161,
    "h": 121.4
  },
  "luminance": 0.40298
}

Semantic roles & 50–950 ramp

primary
#98B62A
secondary
#8673C8
accent
#42E665
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B62A

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

Preview Lab → · Contrast checker → · Palette generator →

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