#98B862#98B862

#98B862 is a light, moderate yellow-green. Relative luminance 0.418; OKLCH L 73.9% C 0.119 H 125.9°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#98B862
RGBrgb(152, 184, 98)
HSLhsl(82, 38%, 55%)
HSVhsv(82, 47%, 72%)
CMYKcmyk(17.4%, 0%, 46.7%, 27.8%)
CIE-LABlab(70.76, -25.06, 39.97)
CIE-LCHlch(70.76, 47.18, 122.09°)
OKLaboklab(73.92% -0.0697 0.0962)
OKLCHoklch(73.92% 0.119 125.9)
XYZxyz(32.2939, 41.8379, 17.9271)
Luminance0.4184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B862 #8262B8
analogous
#B8AD62 #98B862 #6DB862
triadic
#98B862 #6298B8 #B86298
tetradic
#98B862 #62B8AD #8262B8 #B8626D
square
#98B862 #62B8AD #8262B8 #B8626D
split-complementary
#98B862 #626DB8 #AD62B8
monochromatic
#576E32 #799845 #98B862 #B4CB8C #CFDEB6

Accessibility & contrast

On white

2.24
#98B862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#98B862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B862
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B862#FFFFFF#000000##000000
##98B8621.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AE5B
Deuteranopia (green-blind)
#BCAD67
Tritanopia (blue-blind)
#9DB1A4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #98b862;
/* rgb */ color: rgb(152, 184, 98);
/* oklch */ color: oklch(73.9% 0.119 125.9);
Tailwind
colors: {
  custom: {
    50: '#b8cd90',
    500: '#98b862',
    950: '#000000',
  },
}
SCSS
$custom: #98b862;
$custom-light: #b8cd90;
$custom-dark: #000000;
JSON
{
  "hex": "#98b862",
  "rgb": {
    "r": 152,
    "g": 184,
    "b": 98
  },
  "hsl": {
    "h": 82.326,
    "s": 37.719,
    "l": 55.294
  },
  "oklch": {
    "l": 0.73921,
    "c": 0.1188,
    "h": 125.9
  },
  "luminance": 0.41838
}

Semantic roles & 50–950 ramp

primary
#98B862
secondary
#B6A9CD
accent
#5ACE85
background
#FBFCF8
surface
#F6F9F0
border
#D0D2CB
text
#11130D
muted
#80827D

Preview Lab

Preview with #98B862

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

Preview Lab → · Contrast checker → · Palette generator →

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