#98AF4B#98AF4B

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

Color values

HEX#98AF4B
RGBrgb(152, 175, 75)
HSLhsl(74, 40%, 49%)
HSVhsv(74, 57%, 69%)
CMYKcmyk(13.1%, 0%, 57.1%, 31.4%)
CIE-LABlab(67.91, -22.94, 47.71)
CIE-LCHlch(67.91, 52.94, 115.68°)
OKLaboklab(71.54% -0.0657 0.1112)
OKLCHoklch(71.54% 0.129 120.6)
XYZxyz(29.5492, 37.8434, 12.4031)
Luminance0.3784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF4B #624BAF
analogous
#AF944B #98AF4B #66AF4B
triadic
#98AF4B #4B98AF #AF4B98
tetradic
#98AF4B #4BAF94 #624BAF #AF4B66
square
#98AF4B #4BAF94 #624BAF #AF4B66
split-complementary
#98AF4B #4B66AF #944BAF
monochromatic
#4E5926 #738439 #98AF4B #B1C374 #C9D69F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AF4B#FFFFFF#000000##000000
##98AF4B1.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)
#B9A641
Deuteranopia (green-blind)
#B6A651
Tritanopia (blue-blind)
#9FA799
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98af4b;
/* rgb */ color: rgb(152, 175, 75);
/* oklch */ color: oklch(71.5% 0.129 120.6);
Tailwind
colors: {
  custom: {
    50: '#b8c681',
    500: '#98af4b',
    950: '#000000',
  },
}
SCSS
$custom: #98af4b;
$custom-light: #b8c681;
$custom-dark: #000000;
JSON
{
  "hex": "#98af4b",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 75
  },
  "hsl": {
    "h": 73.8,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7154,
    "c": 0.12915,
    "h": 120.6
  },
  "luminance": 0.37843
}

Semantic roles & 50–950 ramp

primary
#98AF4B
secondary
#9E93C2
accent
#58D074
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130A
muted
#81827C

Preview Lab

Preview with #98AF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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