#98AF3F#98AF3F

#98AF3F is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.4% C 0.139 H 120.0°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#98AF3F
RGBrgb(152, 175, 63)
HSLhsl(72, 47%, 47%)
HSVhsv(72, 64%, 69%)
CMYKcmyk(13.1%, 0%, 64%, 31.4%)
CIE-LABlab(67.79, -23.90, 52.93)
CIE-LCHlch(67.79, 58.08, 114.30°)
OKLaboklab(71.42% -0.0696 0.1208)
OKLCHoklch(71.42% 0.139 120)
XYZxyz(29.1765, 37.6943, 10.4403)
Luminance0.3769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF3F #563FAF
analogous
#AF8E3F #98AF3F #60AF3F
triadic
#98AF3F #3F98AF #AF3F98
tetradic
#98AF3F #3FAF8E #563FAF #AF3F60
square
#98AF3F #3FAF8E #563FAF #AF3F60
split-complementary
#98AF3F #3F60AF #8E3FAF
monochromatic
#4A551F #71822F #98AF3F #B3C764 #C9D791

Accessibility & contrast

On white

2.46
#98AF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#98AF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AF3F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AF3F#FFFFFF#000000##000000
##98AF3F1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA531
Deuteranopia (green-blind)
#B7A547
Tritanopia (blue-blind)
#A0A698
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98af3f;
/* rgb */ color: rgb(152, 175, 63);
/* oklch */ color: oklch(71.4% 0.139 120.0);
Tailwind
colors: {
  custom: {
    50: '#b9c679',
    500: '#98af3f',
    950: '#000000',
  },
}
SCSS
$custom: #98af3f;
$custom-light: #b9c679;
$custom-dark: #000000;
JSON
{
  "hex": "#98af3f",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 72.321,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71416,
    "c": 0.13938,
    "h": 120
  },
  "luminance": 0.37694
}

Semantic roles & 50–950 ramp

primary
#98AF3F
secondary
#9387C3
accent
#51D76D
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#121309
muted
#81827B

Preview Lab

Preview with #98AF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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