#98AE26#98AE26

#98AE26 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.0% C 0.154 H 118.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#98AE26
RGBrgb(152, 174, 38)
HSLhsl(70, 64%, 42%)
HSVhsv(70, 78%, 68%)
CMYKcmyk(12.6%, 0%, 78.2%, 31.8%)
CIE-LABlab(67.34, -24.83, 61.73)
CIE-LCHlch(67.34, 66.54, 111.91°)
OKLaboklab(71% -0.0744 0.1353)
OKLCHoklch(71% 0.154 118.8)
XYZxyz(28.4354, 37.0877, 7.4940)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AE26 #3C26AE
analogous
#AE8026 #98AE26 #54AE26
triadic
#98AE26 #2698AE #AE2698
tetradic
#98AE26 #26AE80 #3C26AE #AE2654
square
#98AE26 #26AE80 #3C26AE #AE2654
split-complementary
#98AE26 #2654AE #8026AE
monochromatic
#404A10 #6C7C1B #98AE26 #BCD53D #CDE06F

Accessibility & contrast

On white

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

On black

8.42
#98AE26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AE26
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AE26#FFFFFF#000000##000000
##98AE261.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98ae26;
/* rgb */ color: rgb(152, 174, 38);
/* oklch */ color: oklch(71.0% 0.154 118.8);
Tailwind
colors: {
  custom: {
    50: '#bac66c',
    500: '#98ae26',
    950: '#000000',
  },
}
SCSS
$custom: #98ae26;
$custom-light: #bac66c;
$custom-dark: #000000;
JSON
{
  "hex": "#98ae26",
  "rgb": {
    "r": 152,
    "g": 174,
    "b": 38
  },
  "hsl": {
    "h": 69.706,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71,
    "c": 0.15441,
    "h": 118.8
  },
  "luminance": 0.37087
}

Semantic roles & 50–950 ramp

primary
#98AE26
secondary
#796AC6
accent
#41E75C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #98AE26

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

Preview Lab → · Contrast checker → · Palette generator →

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