#98AA52#98AA52

#98AA52 is a light, moderate yellow-green. Relative luminance 0.360; OKLCH L 70.5% C 0.116 H 119.0°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#98AA52
RGBrgb(152, 170, 82)
HSLhsl(72, 35%, 49%)
HSVhsv(72, 52%, 67%)
CMYKcmyk(10.6%, 0%, 51.8%, 33.3%)
CIE-LABlab(66.55, -19.79, 42.80)
CIE-LCHlch(66.55, 47.15, 114.81°)
OKLaboklab(70.47% -0.0562 0.1012)
OKLCHoklch(70.47% 0.116 119)
XYZxyz(28.8469, 36.0342, 13.4166)
Luminance0.3603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AA52 #6452AA
analogous
#AA9052 #98AA52 #6CAA52
triadic
#98AA52 #5298AA #AA5298
tetradic
#98AA52 #52AA90 #6452AA #AA526C
square
#98AA52 #52AA90 #6452AA #AA526C
split-complementary
#98AA52 #526CAA #9052AA
monochromatic
#4E572A #73813E #98AA52 #B1BF7A #C9D3A4

Accessibility & contrast

On white

2.56
#98AA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#98AA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AA52
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AA52#FFFFFF#000000##000000
##98AA521.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A24A
Deuteranopia (green-blind)
#B1A257
Tritanopia (blue-blind)
#9FA296
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #98aa52;
/* rgb */ color: rgb(152, 170, 82);
/* oklch */ color: oklch(70.5% 0.116 119.0);
Tailwind
colors: {
  custom: {
    50: '#b8c385',
    500: '#98aa52',
    950: '#000000',
  },
}
SCSS
$custom: #98aa52;
$custom-light: #b8c385;
$custom-dark: #000000;
JSON
{
  "hex": "#98aa52",
  "rgb": {
    "r": 152,
    "g": 170,
    "b": 82
  },
  "hsl": {
    "h": 72.273,
    "s": 34.921,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70474,
    "c": 0.1158,
    "h": 119
  },
  "luminance": 0.36034
}

Semantic roles & 50–950 ramp

primary
#98AA52
secondary
#A098C0
accent
#5DCB73
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #98AA52

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

Preview Lab → · Contrast checker → · Palette generator →

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