#98AF32#98AF32

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

Color values

HEX#98AF32
RGBrgb(152, 175, 50)
HSLhsl(71, 56%, 44%)
HSVhsv(71, 71%, 69%)
CMYKcmyk(13.1%, 0%, 71.4%, 31.4%)
CIE-LABlab(67.70, -24.73, 58.01)
CIE-LCHlch(67.70, 63.06, 113.09°)
OKLaboklab(71.31% -0.0732 0.1295)
OKLCHoklch(71.31% 0.149 119.5)
XYZxyz(28.8551, 37.5658, 8.7478)
Luminance0.3757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98AF32 #4932AF
analogous
#AF8832 #98AF32 #5AAF32
triadic
#98AF32 #3298AF #AF3298
tetradic
#98AF32 #32AF88 #4932AF #AF325A
square
#98AF32 #32AF88 #4932AF #AF325A
split-complementary
#98AF32 #325AAF #8832AF
monochromatic
#455017 #6F7F24 #98AF32 #B6CD51 #CADB81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98AF32#FFFFFF#000000##000000
##98AF321.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)
#BAA51C
Deuteranopia (green-blind)
#B8A53C
Tritanopia (blue-blind)
#A1A697
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #98af32;
/* rgb */ color: rgb(152, 175, 50);
/* oklch */ color: oklch(71.3% 0.149 119.5);
Tailwind
colors: {
  custom: {
    50: '#b9c672',
    500: '#98af32',
    950: '#000000',
  },
}
SCSS
$custom: #98af32;
$custom-light: #b9c672;
$custom-dark: #000000;
JSON
{
  "hex": "#98af32",
  "rgb": {
    "r": 152,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 71.04,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71309,
    "c": 0.14871,
    "h": 119.5
  },
  "luminance": 0.37566
}

Semantic roles & 50–950 ramp

primary
#98AF32
secondary
#8779C4
accent
#49DF65
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98AF32

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

Preview Lab → · Contrast checker → · Palette generator →

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