#98AF30#98AF30

#98AF30 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.3% C 0.150 H 119.4°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#98AF30
RGBrgb(152, 175, 48)
HSLhsl(71, 57%, 44%)
HSVhsv(71, 73%, 69%)
CMYKcmyk(13.1%, 0%, 72.6%, 31.4%)
CIE-LABlab(67.69, -24.84, 58.73)
CIE-LCHlch(67.69, 63.76, 112.93°)
OKLaboklab(71.3% -0.0736 0.1306)
OKLCHoklch(71.3% 0.15 119.4)
XYZxyz(28.8129, 37.5489, 8.5255)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF30 #4730AF
analogous
#AF8630 #98AF30 #58AF30
triadic
#98AF30 #3098AF #AF3098
tetradic
#98AF30 #30AF86 #4730AF #AF3058
square
#98AF30 #30AF86 #4730AF #AF3058
split-complementary
#98AF30 #3058AF #8630AF
monochromatic
#454F16 #6E7F23 #98AF30 #B7CE4E #CBDC7E

Accessibility & contrast

On white

2.47
#98AF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#98AF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98AF30
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98AF30#FFFFFF#000000##000000
##98AF301.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA518
Deuteranopia (green-blind)
#B8A53B
Tritanopia (blue-blind)
#A1A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98af30;
/* rgb */ color: rgb(152, 175, 48);
/* oklch */ color: oklch(71.3% 0.150 119.4);
Tailwind
colors: {
  custom: {
    50: '#bac671',
    500: '#98af30',
    950: '#000000',
  },
}
SCSS
$custom: #98af30;
$custom-light: #bac671;
$custom-dark: #000000;
JSON
{
  "hex": "#98af30",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 70.866,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71295,
    "c": 0.14997,
    "h": 119.4
  },
  "luminance": 0.37549
}

Semantic roles & 50–950 ramp

primary
#98AF30
secondary
#8576C4
accent
#48E063
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98AF30

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

Preview Lab → · Contrast checker → · Palette generator →

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