#98B527#98B527

#98B527 is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.6% C 0.162 H 121.1°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#98B527
RGBrgb(152, 181, 39)
HSLhsl(72, 65%, 43%)
HSVhsv(72, 78%, 71%)
CMYKcmyk(16%, 0%, 78.5%, 29%)
CIE-LABlab(69.38, -28.18, 63.29)
CIE-LCHlch(69.38, 69.28, 114.00°)
OKLaboklab(72.64% -0.0836 0.1387)
OKLCHoklch(72.64% 0.162 121.1)
XYZxyz(29.8395, 39.8697, 8.0427)
Luminance0.3987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B527 #4427B5
analogous
#B58B27 #98B527 #51B527
triadic
#98B527 #2798B5 #B52798
tetradic
#98B527 #27B58B #4427B5 #B52751
square
#98B527 #27B58B #4427B5 #B52751
split-complementary
#98B527 #2751B5 #8B27B5
monochromatic
#435011 #6E831C #98B527 #B8D643 #CBE175

Accessibility & contrast

On white

2.34
#98B527 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#98B527 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B527
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B527#FFFFFF#000000##000000
##98B5271.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#A1AB9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #98b527;
/* rgb */ color: rgb(152, 181, 39);
/* oklch */ color: oklch(72.6% 0.162 121.1);
Tailwind
colors: {
  custom: {
    50: '#bacb6e',
    500: '#98b527',
    950: '#000000',
  },
}
SCSS
$custom: #98b527;
$custom-light: #bacb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#98b527",
  "rgb": {
    "r": 152,
    "g": 181,
    "b": 39
  },
  "hsl": {
    "h": 72.254,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72641,
    "c": 0.16196,
    "h": 121.1
  },
  "luminance": 0.3987
}

Semantic roles & 50–950 ramp

primary
#98B527
secondary
#816FC9
accent
#40E862
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B527

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

Preview Lab → · Contrast checker → · Palette generator →

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