#98AF29#98AF29

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

Color values

HEX#98AF29
RGBrgb(152, 175, 41)
HSLhsl(70, 62%, 42%)
HSVhsv(70, 77%, 69%)
CMYKcmyk(13.1%, 0%, 76.6%, 31.4%)
CIE-LABlab(67.65, -25.19, 61.07)
CIE-LCHlch(67.65, 66.06, 112.41°)
OKLaboklab(71.25% -0.0752 0.1344)
OKLCHoklch(71.25% 0.154 119.2)
XYZxyz(28.6797, 37.4956, 7.8239)
Luminance0.3750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF29 #4029AF
analogous
#AF8329 #98AF29 #55AF29
triadic
#98AF29 #2998AF #AF2998
tetradic
#98AF29 #29AF83 #4029AF #AF2955
square
#98AF29 #29AF83 #4029AF #AF2955
split-complementary
#98AF29 #2955AF #8329AF
monochromatic
#424C12 #6D7D1D #98AF29 #BAD342 #CCDE74

Accessibility & contrast

On white

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

On black

8.50
#98AF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AF29
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AF29#FFFFFF#000000##000000
##98AF291.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98af29;
/* rgb */ color: rgb(152, 175, 41);
/* oklch */ color: oklch(71.3% 0.154 119.2);
Tailwind
colors: {
  custom: {
    50: '#bac66e',
    500: '#98af29',
    950: '#000000',
  },
}
SCSS
$custom: #98af29;
$custom-light: #bac66e;
$custom-dark: #000000;
JSON
{
  "hex": "#98af29",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 70.299,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.7125,
    "c": 0.154,
    "h": 119.2
  },
  "luminance": 0.37495
}

Semantic roles & 50–950 ramp

primary
#98AF29
secondary
#7D6EC6
accent
#43E55F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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