#98AE2F#98AE2F

#98AE2F is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 71.1% C 0.149 H 119.0°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#98AE2F
RGBrgb(152, 174, 47)
HSLhsl(70, 57%, 43%)
HSVhsv(70, 73%, 68%)
CMYKcmyk(12.6%, 0%, 73%, 31.8%)
CIE-LABlab(67.39, -24.40, 58.80)
CIE-LCHlch(67.39, 63.66, 112.54°)
OKLaboklab(71.06% -0.0725 0.1306)
OKLCHoklch(71.06% 0.149 119)
XYZxyz(28.5986, 37.1529, 8.3534)
Luminance0.3715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AE2F #452FAE
analogous
#AE842F #98AE2F #58AE2F
triadic
#98AE2F #2F98AE #AE2F98
tetradic
#98AE2F #2FAE84 #452FAE #AE2F58
square
#98AE2F #2FAE84 #452FAE #AE2F58
split-complementary
#98AE2F #2F58AE #842FAE
monochromatic
#444E15 #6E7E22 #98AE2F #B8CF4C #CBDC7C

Accessibility & contrast

On white

2.49
#98AE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#98AE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AE2F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AE2F#FFFFFF#000000##000000
##98AE2F1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A417
Deuteranopia (green-blind)
#B7A53A
Tritanopia (blue-blind)
#A1A495
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #98ae2f;
/* rgb */ color: rgb(152, 174, 47);
/* oklch */ color: oklch(71.1% 0.149 119.0);
Tailwind
colors: {
  custom: {
    50: '#bac671',
    500: '#98ae2f',
    950: '#000000',
  },
}
SCSS
$custom: #98ae2f;
$custom-light: #bac671;
$custom-dark: #000000;
JSON
{
  "hex": "#98ae2f",
  "rgb": {
    "r": 152,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 70.394,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71055,
    "c": 0.1494,
    "h": 119
  },
  "luminance": 0.37153
}

Semantic roles & 50–950 ramp

primary
#98AE2F
secondary
#8275C4
accent
#47E162
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98AE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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