#98AF48#98AF48

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

Color values

HEX#98AF48
RGBrgb(152, 175, 72)
HSLhsl(73, 42%, 48%)
HSVhsv(73, 59%, 69%)
CMYKcmyk(13.1%, 0%, 58.9%, 31.4%)
CIE-LABlab(67.88, -23.20, 49.06)
CIE-LCHlch(67.88, 54.27, 115.31°)
OKLaboklab(71.51% -0.0668 0.1137)
OKLCHoklch(71.51% 0.132 120.4)
XYZxyz(29.4489, 37.8033, 11.8750)
Luminance0.3780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF48 #5F48AF
analogous
#AF9248 #98AF48 #64AF48
triadic
#98AF48 #4898AF #AF4898
tetradic
#98AF48 #48AF92 #5F48AF #AF4864
square
#98AF48 #48AF92 #5F48AF #AF4864
split-complementary
#98AF48 #4864AF #9248AF
monochromatic
#4D5824 #728436 #98AF48 #B1C470 #C9D69B

Accessibility & contrast

On white

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

On black

8.56
#98AF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AF48
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AF48#FFFFFF#000000##000000
##98AF481.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A63D
Deuteranopia (green-blind)
#B6A64F
Tritanopia (blue-blind)
#A0A799
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98af48;
/* rgb */ color: rgb(152, 175, 72);
/* oklch */ color: oklch(71.5% 0.132 120.4);
Tailwind
colors: {
  custom: {
    50: '#b9c67f',
    500: '#98af48',
    950: '#000000',
  },
}
SCSS
$custom: #98af48;
$custom-light: #b9c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#98af48",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 73.398,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71507,
    "c": 0.13185,
    "h": 120.4
  },
  "luminance": 0.37803
}

Semantic roles & 50–950 ramp

primary
#98AF48
secondary
#9C90C2
accent
#56D272
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #98AF48

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

Preview Lab → · Contrast checker → · Palette generator →

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