#98AF4D#98AF4D

#98AF4D is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.6% C 0.127 H 120.7°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#98AF4D
RGBrgb(152, 175, 77)
HSLhsl(74, 39%, 49%)
HSVhsv(74, 56%, 69%)
CMYKcmyk(13.1%, 0%, 56%, 31.4%)
CIE-LABlab(67.93, -22.76, 46.80)
CIE-LCHlch(67.93, 52.05, 115.94°)
OKLaboklab(71.56% -0.0651 0.1094)
OKLCHoklch(71.56% 0.127 120.7)
XYZxyz(29.6187, 37.8712, 12.7693)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF4D #644DAF
analogous
#AF954D #98AF4D #67AF4D
triadic
#98AF4D #4D98AF #AF4D98
tetradic
#98AF4D #4DAF95 #644DAF #AF4D67
square
#98AF4D #4DAF95 #644DAF #AF4D67
split-complementary
#98AF4D #4D67AF #954DAF
monochromatic
#4E5A28 #73853A #98AF4D #B1C376 #C9D6A1

Accessibility & contrast

On white

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

On black

8.57
#98AF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AF4D
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AF4D#FFFFFF#000000##000000
##98AF4D1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A643
Deuteranopia (green-blind)
#B6A653
Tritanopia (blue-blind)
#9FA799
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98af4d;
/* rgb */ color: rgb(152, 175, 77);
/* oklch */ color: oklch(71.6% 0.127 120.7);
Tailwind
colors: {
  custom: {
    50: '#b8c682',
    500: '#98af4d',
    950: '#000000',
  },
}
SCSS
$custom: #98af4d;
$custom-light: #b8c682;
$custom-dark: #000000;
JSON
{
  "hex": "#98af4d",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 74.082,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71563,
    "c": 0.1273,
    "h": 120.7
  },
  "luminance": 0.37871
}

Semantic roles & 50–950 ramp

primary
#98AF4D
secondary
#A095C3
accent
#59CF75
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #98AF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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