#98AF49#98AF49

#98AF49 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.5% C 0.131 H 120.5°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#98AF49
RGBrgb(152, 175, 73)
HSLhsl(74, 41%, 49%)
HSVhsv(74, 58%, 69%)
CMYKcmyk(13.1%, 0%, 58.3%, 31.4%)
CIE-LABlab(67.89, -23.11, 48.61)
CIE-LCHlch(67.89, 53.83, 115.43°)
OKLaboklab(71.52% -0.0664 0.1129)
OKLCHoklch(71.52% 0.131 120.5)
XYZxyz(29.4818, 37.8165, 12.0482)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF49 #6049AF
analogous
#AF9349 #98AF49 #65AF49
triadic
#98AF49 #4998AF #AF4998
tetradic
#98AF49 #49AF93 #6049AF #AF4965
square
#98AF49 #49AF93 #6049AF #AF4965
split-complementary
#98AF49 #4965AF #9349AF
monochromatic
#4D5925 #728437 #98AF49 #B1C471 #C9D69C

Accessibility & contrast

On white

2.45
#98AF49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#98AF49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AF49
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AF49#FFFFFF#000000##000000
##98AF491.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A63E
Deuteranopia (green-blind)
#B6A650
Tritanopia (blue-blind)
#A0A799
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98af49;
/* rgb */ color: rgb(152, 175, 73);
/* oklch */ color: oklch(71.5% 0.131 120.5);
Tailwind
colors: {
  custom: {
    50: '#b8c67f',
    500: '#98af49',
    950: '#000000',
  },
}
SCSS
$custom: #98af49;
$custom-light: #b8c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#98af49",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 73
  },
  "hsl": {
    "h": 73.529,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71518,
    "c": 0.13096,
    "h": 120.5
  },
  "luminance": 0.37816
}

Semantic roles & 50–950 ramp

primary
#98AF49
secondary
#9C91C2
accent
#57D172
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #98AF49

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

Preview Lab → · Contrast checker → · Palette generator →

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