#98A751#98A751

#98A751 is a light, moderate yellow-green. Relative luminance 0.349; OKLCH L 69.8% C 0.113 H 117.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#98A751
RGBrgb(152, 167, 81)
HSLhsl(70, 35%, 49%)
HSVhsv(70, 51%, 65%)
CMYKcmyk(9%, 0%, 51.5%, 34.5%)
CIE-LABlab(65.68, -18.36, 42.26)
CIE-LCHlch(65.68, 46.07, 113.49°)
OKLaboklab(69.77% -0.0523 0.1)
OKLCHoklch(69.77% 0.113 117.6)
XYZxyz(28.2531, 34.9072, 13.0324)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A751 #6051A7
analogous
#A78B51 #98A751 #6DA751
triadic
#98A751 #5198A7 #A75198
tetradic
#98A751 #51A78B #6051A7 #A7516D
square
#98A751 #51A78B #6051A7 #A7516D
split-complementary
#98A751 #516DA7 #8B51A7
monochromatic
#4D5529 #727E3D #98A751 #B1BD78 #C9D1A1

Accessibility & contrast

On white

2.63
#98A751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#98A751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A751
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A751#FFFFFF#000000##000000
##98A7511.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F49
Deuteranopia (green-blind)
#AFA056
Tritanopia (blue-blind)
#A09F93
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a751;
/* rgb */ color: rgb(152, 167, 81);
/* oklch */ color: oklch(69.8% 0.113 117.6);
Tailwind
colors: {
  custom: {
    50: '#b8c184',
    500: '#98a751',
    950: '#000000',
  },
}
SCSS
$custom: #98a751;
$custom-light: #b8c184;
$custom-dark: #000000;
JSON
{
  "hex": "#98a751",
  "rgb": {
    "r": 152,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 70.465,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69773,
    "c": 0.11281,
    "h": 117.6
  },
  "luminance": 0.34907
}

Semantic roles & 50–950 ramp

primary
#98A751
secondary
#9C95BF
accent
#5DCB70
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #98A751

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

Preview Lab → · Contrast checker → · Palette generator →

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