#98B751#98B751

#98B751 is a light, vivid yellow-green. Relative luminance 0.411; OKLCH L 73.5% C 0.134 H 123.8°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#98B751
RGBrgb(152, 183, 81)
HSLhsl(78, 41%, 52%)
HSVhsv(78, 56%, 72%)
CMYKcmyk(16.9%, 0%, 55.7%, 28.2%)
CIE-LABlab(70.27, -26.33, 47.63)
CIE-LCHlch(70.27, 54.42, 118.93°)
OKLaboklab(73.46% -0.0747 0.1116)
OKLCHoklch(73.46% 0.134 123.8)
XYZxyz(31.3677, 41.1363, 14.0705)
Luminance0.4114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B751 #7051B7
analogous
#B7A351 #98B751 #65B751
triadic
#98B751 #5198B7 #B75198
tetradic
#98B751 #51B7A3 #7051B7 #B75165
square
#98B751 #51B7A3 #7051B7 #B75165
split-complementary
#98B751 #5165B7 #A351B7
monochromatic
#526429 #768F3B #98B751 #B2C97C #CBDBA8

Accessibility & contrast

On white

2.28
#98B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#98B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B751
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B751#FFFFFF#000000##000000
##98B7511.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD47
Deuteranopia (green-blind)
#BCAC57
Tritanopia (blue-blind)
#9EAFA0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #98b751;
/* rgb */ color: rgb(152, 183, 81);
/* oklch */ color: oklch(73.5% 0.134 123.8);
Tailwind
colors: {
  custom: {
    50: '#b8cc85',
    500: '#98b751',
    950: '#000000',
  },
}
SCSS
$custom: #98b751;
$custom-light: #b8cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#98b751",
  "rgb": {
    "r": 152,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 78.235,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73464,
    "c": 0.13428,
    "h": 123.8
  },
  "luminance": 0.41136
}

Semantic roles & 50–950 ramp

primary
#98B751
secondary
#A99CC8
accent
#57D17C
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #98B751

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

Preview Lab → · Contrast checker → · Palette generator →

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