#98A852#98A852

#98A852 is a light, moderate yellow-green. Relative luminance 0.353; OKLCH L 70.0% C 0.113 H 118.1°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#98A852
RGBrgb(152, 168, 82)
HSLhsl(71, 34%, 49%)
HSVhsv(71, 51%, 66%)
CMYKcmyk(9.5%, 0%, 51.2%, 34.1%)
CIE-LABlab(65.97, -18.77, 42.12)
CIE-LCHlch(65.97, 46.11, 114.02°)
OKLaboklab(70.02% -0.0533 0.0998)
OKLCHoklch(70.02% 0.113 118.1)
XYZxyz(28.4748, 35.2901, 13.2926)
Luminance0.3529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A852 #6252A8
analogous
#A88D52 #98A852 #6DA852
triadic
#98A852 #5298A8 #A85298
tetradic
#98A852 #52A88D #6252A8 #A8526D
square
#98A852 #52A88D #6252A8 #A8526D
split-complementary
#98A852 #526DA8 #8D52A8
monochromatic
#4E562A #737F3E #98A852 #B1BE79 #C9D2A3

Accessibility & contrast

On white

2.61
#98A852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#98A852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A852
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A852#FFFFFF#000000##000000
##98A8521.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A04A
Deuteranopia (green-blind)
#B0A157
Tritanopia (blue-blind)
#9FA094
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #98a852;
/* rgb */ color: rgb(152, 168, 82);
/* oklch */ color: oklch(70.0% 0.113 118.1);
Tailwind
colors: {
  custom: {
    50: '#b8c185',
    500: '#98a852',
    950: '#000000',
  },
}
SCSS
$custom: #98a852;
$custom-light: #b8c185;
$custom-dark: #000000;
JSON
{
  "hex": "#98a852",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 82
  },
  "hsl": {
    "h": 71.163,
    "s": 34.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70015,
    "c": 0.11313,
    "h": 118.1
  },
  "luminance": 0.3529
}

Semantic roles & 50–950 ramp

primary
#98A852
secondary
#9E97BF
accent
#5DCA72
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #98A852

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

Preview Lab → · Contrast checker → · Palette generator →

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