#98B41C#98B41C

#98B41C is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.4% C 0.166 H 120.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#98B41C
RGBrgb(152, 180, 28)
HSLhsl(71, 73%, 41%)
HSVhsv(71, 84%, 71%)
CMYKcmyk(15.6%, 0%, 84.4%, 29.4%)
CIE-LABlab(69.04, -28.10, 65.93)
CIE-LCHlch(69.04, 71.67, 113.08°)
OKLaboklab(72.36% -0.0841 0.1426)
OKLCHoklch(72.36% 0.166 120.5)
XYZxyz(29.4804, 39.4018, 7.1506)
Luminance0.3940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98B41C #381CB4
analogous
#B4841C #98B41C #4CB41C
triadic
#98B41C #1C98B4 #B41C98
tetradic
#98B41C #1CB484 #381CB4 #B41C4C
square
#98B41C #1CB484 #381CB4 #B41C4C
split-complementary
#98B41C #1C4CB4 #841CB4
monochromatic
#3F4A0C #6B7F14 #98B41C #BEDF2F #CFE764

Accessibility & contrast

On white

2.36
#98B41C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#98B41C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98B41C
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98B41C#FFFFFF#000000##000000
##98B41C1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BCA92E
Tritanopia (blue-blind)
#A1AA99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #98b41c;
/* rgb */ color: rgb(152, 180, 28);
/* oklch */ color: oklch(72.4% 0.166 120.5);
Tailwind
colors: {
  custom: {
    50: '#baca69',
    500: '#98b41c',
    950: '#000000',
  },
}
SCSS
$custom: #98b41c;
$custom-light: #baca69;
$custom-dark: #000000;
JSON
{
  "hex": "#98b41c",
  "rgb": {
    "r": 152,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 71.053,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.72356,
    "c": 0.16552,
    "h": 120.5
  },
  "luminance": 0.39402
}

Semantic roles & 50–950 ramp

primary
#98B41C
secondary
#7460CC
accent
#38F05A
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #98B41C

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

Preview Lab → · Contrast checker → · Palette generator →

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