#98AD3F#98AD3F

#98AD3F is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 71.0% C 0.137 H 119.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#98AD3F
RGBrgb(152, 173, 63)
HSLhsl(71, 47%, 46%)
HSVhsv(71, 64%, 68%)
CMYKcmyk(12.1%, 0%, 63.6%, 32.2%)
CIE-LABlab(67.22, -22.91, 52.32)
CIE-LCHlch(67.22, 57.11, 113.65°)
OKLaboklab(70.95% -0.0669 0.1195)
OKLCHoklch(70.95% 0.137 119.2)
XYZxyz(28.7901, 36.9216, 10.3116)
Luminance0.3692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AD3F #543FAD
analogous
#AD8B3F #98AD3F #61AD3F
triadic
#98AD3F #3F98AD #AD3F98
tetradic
#98AD3F #3FAD8B #543FAD #AD3F61
square
#98AD3F #3FAD8B #543FAD #AD3F61
split-complementary
#98AD3F #3F61AD #8B3FAD
monochromatic
#49531E #71802F #98AD3F #B3C663 #C9D790

Accessibility & contrast

On white

2.50
#98AD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#98AD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AD3F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AD3F#FFFFFF#000000##000000
##98AD3F1.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A431
Deuteranopia (green-blind)
#B5A447
Tritanopia (blue-blind)
#A0A496
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #98ad3f;
/* rgb */ color: rgb(152, 173, 63);
/* oklch */ color: oklch(71.0% 0.137 119.2);
Tailwind
colors: {
  custom: {
    50: '#b9c579',
    500: '#98ad3f',
    950: '#000000',
  },
}
SCSS
$custom: #98ad3f;
$custom-light: #b9c579;
$custom-dark: #000000;
JSON
{
  "hex": "#98ad3f",
  "rgb": {
    "r": 152,
    "g": 173,
    "b": 63
  },
  "hsl": {
    "h": 71.455,
    "s": 46.61,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70952,
    "c": 0.13689,
    "h": 119.2
  },
  "luminance": 0.36921
}

Semantic roles & 50–950 ramp

primary
#98AD3F
secondary
#9286C2
accent
#52D66B
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #98AD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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