#98AF26#98AF26

#98AF26 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.2% C 0.156 H 119.2°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#98AF26
RGBrgb(152, 175, 38)
HSLhsl(70, 64%, 42%)
HSVhsv(70, 78%, 69%)
CMYKcmyk(13.1%, 0%, 78.3%, 31.4%)
CIE-LABlab(67.63, -25.32, 62.00)
CIE-LCHlch(67.63, 66.97, 112.21°)
OKLaboklab(71.23% -0.0758 0.1358)
OKLCHoklch(71.23% 0.156 119.2)
XYZxyz(28.6293, 37.4755, 7.5586)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF26 #3D26AF
analogous
#AF8226 #98AF26 #54AF26
triadic
#98AF26 #2698AF #AF2698
tetradic
#98AF26 #26AF82 #3D26AF #AF2654
square
#98AF26 #26AF82 #3D26AF #AF2654
split-complementary
#98AF26 #2654AF #8226AF
monochromatic
#414A10 #6C7D1B #98AF26 #BBD53D #CDE070

Accessibility & contrast

On white

2.47
#98AF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#98AF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AF26
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AF26#FFFFFF#000000##000000
##98AF261.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#A1A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98af26;
/* rgb */ color: rgb(152, 175, 38);
/* oklch */ color: oklch(71.2% 0.156 119.2);
Tailwind
colors: {
  custom: {
    50: '#bac66c',
    500: '#98af26',
    950: '#000000',
  },
}
SCSS
$custom: #98af26;
$custom-light: #bac66c;
$custom-dark: #000000;
JSON
{
  "hex": "#98af26",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 70.073,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71233,
    "c": 0.15555,
    "h": 119.2
  },
  "luminance": 0.37475
}

Semantic roles & 50–950 ramp

primary
#98AF26
secondary
#7A6AC7
accent
#40E75C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #98AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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