#98AF47#98AF47

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

Color values

HEX#98AF47
RGBrgb(152, 175, 71)
HSLhsl(73, 42%, 48%)
HSVhsv(73, 59%, 69%)
CMYKcmyk(13.1%, 0%, 59.4%, 31.4%)
CIE-LABlab(67.87, -23.28, 49.50)
CIE-LCHlch(67.87, 54.70, 115.19°)
OKLaboklab(71.5% -0.0671 0.1145)
OKLCHoklch(71.5% 0.133 120.4)
XYZxyz(29.4166, 37.7904, 11.7046)
Luminance0.3779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF47 #5E47AF
analogous
#AF9247 #98AF47 #64AF47
triadic
#98AF47 #4798AF #AF4798
tetradic
#98AF47 #47AF92 #5E47AF #AF4764
square
#98AF47 #47AF92 #5E47AF #AF4764
split-complementary
#98AF47 #4764AF #9247AF
monochromatic
#4C5824 #728335 #98AF47 #B2C46F #C9D69A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AF47#FFFFFF#000000##000000
##98AF471.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)
#B9A63B
Deuteranopia (green-blind)
#B6A64E
Tritanopia (blue-blind)
#A0A699
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98af47;
/* rgb */ color: rgb(152, 175, 71);
/* oklch */ color: oklch(71.5% 0.133 120.4);
Tailwind
colors: {
  custom: {
    50: '#b9c67e',
    500: '#98af47',
    950: '#000000',
  },
}
SCSS
$custom: #98af47;
$custom-light: #b9c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#98af47",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 73.269,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71496,
    "c": 0.13272,
    "h": 120.4
  },
  "luminance": 0.3779
}

Semantic roles & 50–950 ramp

primary
#98AF47
secondary
#9B8FC2
accent
#56D271
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #98AF47

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

Preview Lab → · Contrast checker → · Palette generator →

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