#98B627#98B627

#98B627 is a light, vivid yellow-green. Relative luminance 0.403; OKLCH L 72.9% C 0.163 H 121.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#98B627
RGBrgb(152, 182, 39)
HSLhsl(73, 65%, 43%)
HSVhsv(73, 79%, 71%)
CMYKcmyk(16.5%, 0%, 78.6%, 28.6%)
CIE-LABlab(69.67, -28.66, 63.55)
CIE-LCHlch(69.67, 69.71, 114.27°)
OKLaboklab(72.88% -0.0849 0.1393)
OKLCHoklch(72.88% 0.163 121.4)
XYZxyz(30.0436, 40.2778, 8.1107)
Luminance0.4028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B627 #4527B6
analogous
#B68C27 #98B627 #51B627
triadic
#98B627 #2798B6 #B62798
tetradic
#98B627 #27B68C #4527B6 #B62751
square
#98B627 #27B68C #4527B6 #B62751
split-complementary
#98B627 #2751B6 #8C27B6
monochromatic
#445111 #6E841C #98B627 #B8D743 #CBE276

Accessibility & contrast

On white

2.32
#98B627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#98B627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B627
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B627#FFFFFF#000000##000000
##98B6271.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#BEAA35
Tritanopia (blue-blind)
#A1AC9C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #98b627;
/* rgb */ color: rgb(152, 182, 39);
/* oklch */ color: oklch(72.9% 0.163 121.4);
Tailwind
colors: {
  custom: {
    50: '#bacc6e',
    500: '#98b627',
    950: '#000000',
  },
}
SCSS
$custom: #98b627;
$custom-light: #bacc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#98b627",
  "rgb": {
    "r": 152,
    "g": 182,
    "b": 39
  },
  "hsl": {
    "h": 72.587,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72876,
    "c": 0.16312,
    "h": 121.4
  },
  "luminance": 0.40278
}

Semantic roles & 50–950 ramp

primary
#98B627
secondary
#8270C9
accent
#40E863
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B627

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

Preview Lab → · Contrast checker → · Palette generator →

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