#98B127#98B127

#98B127 is a light, vivid yellow-green. Relative luminance 0.383; OKLCH L 71.7% C 0.157 H 119.8°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#98B127
RGBrgb(152, 177, 39)
HSLhsl(71, 64%, 42%)
HSVhsv(71, 78%, 69%)
CMYKcmyk(14.1%, 0%, 78%, 30.6%)
CIE-LABlab(68.22, -26.25, 62.22)
CIE-LCHlch(68.22, 67.53, 112.87°)
OKLaboklab(71.71% -0.0783 0.1365)
OKLCHoklch(71.71% 0.157 119.8)
XYZxyz(29.0378, 38.2663, 7.7755)
Luminance0.3827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B127 #4027B1
analogous
#B18527 #98B127 #53B127
triadic
#98B127 #2798B1 #B12798
tetradic
#98B127 #27B185 #4027B1 #B12753
square
#98B127 #27B185 #4027B1 #B12753
split-complementary
#98B127 #2753B1 #8527B1
monochromatic
#424D11 #6D7F1C #98B127 #BAD540 #CCE072

Accessibility & contrast

On white

2.43
#98B127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#98B127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B127
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B127#FFFFFF#000000##000000
##98B1271.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#A1A797
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #98b127;
/* rgb */ color: rgb(152, 177, 39);
/* oklch */ color: oklch(71.7% 0.157 119.8);
Tailwind
colors: {
  custom: {
    50: '#bac86d',
    500: '#98b127',
    950: '#000000',
  },
}
SCSS
$custom: #98b127;
$custom-light: #bac86d;
$custom-dark: #000000;
JSON
{
  "hex": "#98b127",
  "rgb": {
    "r": 152,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 70.87,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71706,
    "c": 0.15734,
    "h": 119.8
  },
  "luminance": 0.38266
}

Semantic roles & 50–950 ramp

primary
#98B127
secondary
#7D6DC7
accent
#41E75F
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #98B127

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

Preview Lab → · Contrast checker → · Palette generator →

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