#98B927#98B927

#98B927 is a light, vivid yellow-green. Relative luminance 0.415; OKLCH L 73.6% C 0.167 H 122.2°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#98B927
RGBrgb(152, 185, 39)
HSLhsl(74, 65%, 44%)
HSVhsv(74, 79%, 73%)
CMYKcmyk(17.8%, 0%, 78.9%, 27.5%)
CIE-LABlab(70.54, -30.08, 64.34)
CIE-LCHlch(70.54, 71.03, 115.06°)
OKLaboklab(73.58% -0.0888 0.141)
OKLCHoklch(73.58% 0.167 122.2)
XYZxyz(30.6645, 41.5197, 8.3177)
Luminance0.4152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B927 #4827B9
analogous
#B99127 #98B927 #4FB927
triadic
#98B927 #2798B9 #B92798
tetradic
#98B927 #27B991 #4827B9 #B9274F
square
#98B927 #27B991 #4827B9 #B9274F
split-complementary
#98B927 #274FB9 #9127B9
monochromatic
#455412 #6E861C #98B927 #B7D845 #CAE378

Accessibility & contrast

On white

2.26
#98B927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#98B927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B927
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B927#FFFFFF#000000##000000
##98B9271.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C0AC36
Tritanopia (blue-blind)
#A0AF9E
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #98b927;
/* rgb */ color: rgb(152, 185, 39);
/* oklch */ color: oklch(73.6% 0.167 122.2);
Tailwind
colors: {
  custom: {
    50: '#bace6e',
    500: '#98b927',
    950: '#000000',
  },
}
SCSS
$custom: #98b927;
$custom-light: #bace6e;
$custom-dark: #000000;
JSON
{
  "hex": "#98b927",
  "rgb": {
    "r": 152,
    "g": 185,
    "b": 39
  },
  "hsl": {
    "h": 73.562,
    "s": 65.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.7358,
    "c": 0.1666,
    "h": 122.2
  },
  "luminance": 0.4152
}

Semantic roles & 50–950 ramp

primary
#98B927
secondary
#8672CA
accent
#40E866
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B927

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

Preview Lab → · Contrast checker → · Palette generator →

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