#98BA2E#98BA2E

#98BA2E is a light, vivid yellow-green. Relative luminance 0.420; OKLCH L 73.9% C 0.164 H 122.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#98BA2E
RGBrgb(152, 186, 46)
HSLhsl(75, 60%, 45%)
HSVhsv(75, 75%, 73%)
CMYKcmyk(18.3%, 0%, 75.3%, 27.1%)
CIE-LABlab(70.86, -30.24, 62.46)
CIE-LCHlch(70.86, 69.40, 115.83°)
OKLaboklab(73.85% -0.0887 0.1382)
OKLCHoklch(73.85% 0.164 122.7)
XYZxyz(31.0014, 41.9903, 9.0560)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98BA2E #502EBA
analogous
#BA962E #98BA2E #52BA2E
triadic
#98BA2E #2E98BA #BA2E98
tetradic
#98BA2E #2EBA96 #502EBA #BA2E52
square
#98BA2E #2EBA96 #502EBA #BA2E52
split-complementary
#98BA2E #2E52BA #962EBA
monochromatic
#485816 #708922 #98BA2E #B4D451 #C9E082

Accessibility & contrast

On white

2.23
#98BA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#98BA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98BA2E
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98BA2E#FFFFFF#000000##000000
##98BA2E1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0D
Deuteranopia (green-blind)
#C1AD3B
Tritanopia (blue-blind)
#A0B0A0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #98ba2e;
/* rgb */ color: rgb(152, 186, 46);
/* oklch */ color: oklch(73.9% 0.164 122.7);
Tailwind
colors: {
  custom: {
    50: '#bace71',
    500: '#98ba2e',
    950: '#000000',
  },
}
SCSS
$custom: #98ba2e;
$custom-light: #bace71;
$custom-dark: #000000;
JSON
{
  "hex": "#98ba2e",
  "rgb": {
    "r": 152,
    "g": 186,
    "b": 46
  },
  "hsl": {
    "h": 74.571,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73854,
    "c": 0.16418,
    "h": 122.7
  },
  "luminance": 0.4199
}

Semantic roles & 50–950 ramp

primary
#98BA2E
secondary
#8E7BC9
accent
#44E36B
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98BA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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