#98B02F#98B02F

#98B02F is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.5% C 0.152 H 119.7°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#98B02F
RGBrgb(152, 176, 47)
HSLhsl(71, 58%, 44%)
HSVhsv(71, 73%, 69%)
CMYKcmyk(13.6%, 0%, 73.3%, 31%)
CIE-LABlab(67.97, -25.38, 59.36)
CIE-LCHlch(67.97, 64.55, 113.15°)
OKLaboklab(71.52% -0.0752 0.1318)
OKLCHoklch(71.52% 0.152 119.7)
XYZxyz(28.9879, 37.9314, 8.4832)
Luminance0.3793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B02F #472FB0
analogous
#B0872F #98B02F #57B02F
triadic
#98B02F #2F98B0 #B02F98
tetradic
#98B02F #2FB087 #472FB0 #B02F57
square
#98B02F #2FB087 #472FB0 #B02F57
split-complementary
#98B02F #2F57B0 #872FB0
monochromatic
#454F15 #6E8022 #98B02F #B7CF4D #CBDC7D

Accessibility & contrast

On white

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

On black

8.59
#98B02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B02F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B02F#FFFFFF#000000##000000
##98B02F1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA616
Deuteranopia (green-blind)
#B9A63A
Tritanopia (blue-blind)
#A1A697
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #98b02f;
/* rgb */ color: rgb(152, 176, 47);
/* oklch */ color: oklch(71.5% 0.152 119.7);
Tailwind
colors: {
  custom: {
    50: '#bac771',
    500: '#98b02f',
    950: '#000000',
  },
}
SCSS
$custom: #98b02f;
$custom-light: #bac771;
$custom-dark: #000000;
JSON
{
  "hex": "#98b02f",
  "rgb": {
    "r": 152,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 71.163,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71521,
    "c": 0.15175,
    "h": 119.7
  },
  "luminance": 0.37931
}

Semantic roles & 50–950 ramp

primary
#98B02F
secondary
#8576C5
accent
#47E163
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #98B02F

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

Preview Lab → · Contrast checker → · Palette generator →

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