#98AF45#98AF45

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

Color values

HEX#98AF45
RGBrgb(152, 175, 69)
HSLhsl(73, 43%, 48%)
HSVhsv(73, 61%, 69%)
CMYKcmyk(13.1%, 0%, 60.6%, 31.4%)
CIE-LABlab(67.85, -23.44, 50.38)
CIE-LCHlch(67.85, 55.56, 114.95°)
OKLaboklab(71.47% -0.0677 0.1161)
OKLCHoklch(71.47% 0.134 120.3)
XYZxyz(29.3534, 37.7651, 11.3721)
Luminance0.3776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF45 #5C45AF
analogous
#AF9145 #98AF45 #63AF45
triadic
#98AF45 #4598AF #AF4598
tetradic
#98AF45 #45AF91 #5C45AF #AF4563
square
#98AF45 #45AF91 #5C45AF #AF4563
split-complementary
#98AF45 #4563AF #9145AF
monochromatic
#4C5722 #728334 #98AF45 #B2C56C #C9D698

Accessibility & contrast

On white

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

On black

8.55
#98AF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AF45
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AF45#FFFFFF#000000##000000
##98AF451.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98af45;
/* rgb */ color: rgb(152, 175, 69);
/* oklch */ color: oklch(71.5% 0.134 120.3);
Tailwind
colors: {
  custom: {
    50: '#b9c67d',
    500: '#98af45',
    950: '#000000',
  },
}
SCSS
$custom: #98af45;
$custom-light: #b9c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#98af45",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 73.019,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71475,
    "c": 0.13445,
    "h": 120.3
  },
  "luminance": 0.37765
}

Semantic roles & 50–950 ramp

primary
#98AF45
secondary
#998DC2
accent
#55D370
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #98AF45

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

Preview Lab → · Contrast checker → · Palette generator →

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