#98B027#98B027

#98B027 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.5% C 0.156 H 119.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#98B027
RGBrgb(152, 176, 39)
HSLhsl(71, 64%, 42%)
HSVhsv(71, 78%, 69%)
CMYKcmyk(13.6%, 0%, 77.8%, 31%)
CIE-LABlab(67.93, -25.76, 61.96)
CIE-LCHlch(67.93, 67.10, 112.58°)
OKLaboklab(71.47% -0.0769 0.1359)
OKLCHoklch(71.47% 0.156 119.5)
XYZxyz(28.8410, 37.8727, 7.7099)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B027 #3F27B0
analogous
#B08427 #98B027 #54B027
triadic
#98B027 #2798B0 #B02798
tetradic
#98B027 #27B084 #3F27B0 #B02754
square
#98B027 #27B084 #3F27B0 #B02754
split-complementary
#98B027 #2754B0 #8427B0
monochromatic
#414C11 #6D7E1C #98B027 #BAD540 #CCE072

Accessibility & contrast

On white

2.45
#98B027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#98B027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B027
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B027#FFFFFF#000000##000000
##98B0271.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#B9A634
Tritanopia (blue-blind)
#A1A697
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98b027;
/* rgb */ color: rgb(152, 176, 39);
/* oklch */ color: oklch(71.5% 0.156 119.5);
Tailwind
colors: {
  custom: {
    50: '#bac76d',
    500: '#98b027',
    950: '#000000',
  },
}
SCSS
$custom: #98b027;
$custom-light: #bac76d;
$custom-dark: #000000;
JSON
{
  "hex": "#98b027",
  "rgb": {
    "r": 152,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 70.511,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71472,
    "c": 0.15619,
    "h": 119.5
  },
  "luminance": 0.37873
}

Semantic roles & 50–950 ramp

primary
#98B027
secondary
#7C6CC7
accent
#41E75E
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #98B027

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

Preview Lab → · Contrast checker → · Palette generator →

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