#98B32F#98B32F

#98B32F is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.2% C 0.155 H 120.7°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#98B32F
RGBrgb(152, 179, 47)
HSLhsl(72, 58%, 44%)
HSVhsv(72, 74%, 70%)
CMYKcmyk(15.1%, 0%, 73.7%, 29.8%)
CIE-LABlab(68.84, -26.84, 60.19)
CIE-LCHlch(68.84, 65.91, 114.03°)
OKLaboklab(72.22% -0.0792 0.1336)
OKLCHoklch(72.22% 0.155 120.7)
XYZxyz(29.5826, 39.1209, 8.6814)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B32F #4A2FB3
analogous
#B38C2F #98B32F #56B32F
triadic
#98B32F #2F98B3 #B32F98
tetradic
#98B32F #2FB38C #4A2FB3 #B32F56
square
#98B32F #2FB38C #4A2FB3 #B32F56
split-complementary
#98B32F #2F56B3 #8C2FB3
monochromatic
#465216 #6F8322 #98B32F #B6D14F #CADD7F

Accessibility & contrast

On white

2.38
#98B32F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#98B32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B32F
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B32F#FFFFFF#000000##000000
##98B32F1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA814
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#A1A99A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b32f;
/* rgb */ color: rgb(152, 179, 47);
/* oklch */ color: oklch(72.2% 0.155 120.7);
Tailwind
colors: {
  custom: {
    50: '#bac971',
    500: '#98b32f',
    950: '#000000',
  },
}
SCSS
$custom: #98b32f;
$custom-light: #bac971;
$custom-dark: #000000;
JSON
{
  "hex": "#98b32f",
  "rgb": {
    "r": 152,
    "g": 179,
    "b": 47
  },
  "hsl": {
    "h": 72.273,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72221,
    "c": 0.1553,
    "h": 120.7
  },
  "luminance": 0.39121
}

Semantic roles & 50–950 ramp

primary
#98B32F
secondary
#8878C6
accent
#46E266
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B32F

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

Preview Lab → · Contrast checker → · Palette generator →

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