#98A930#98A930

#98A930 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 69.9% C 0.143 H 117.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#98A930
RGBrgb(152, 169, 48)
HSLhsl(68, 56%, 43%)
HSVhsv(68, 72%, 66%)
CMYKcmyk(10.1%, 0%, 71.6%, 33.7%)
CIE-LABlab(65.95, -21.87, 57.03)
CIE-LCHlch(65.95, 61.08, 110.98°)
OKLaboklab(69.9% -0.0654 0.1271)
OKLCHoklch(69.9% 0.143 117.2)
XYZxyz(27.6710, 35.2651, 8.1449)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A930 #4130A9
analogous
#A97E30 #98A930 #5BA930
triadic
#98A930 #3098A9 #A93098
tetradic
#98A930 #30A97E #4130A9 #A9305B
square
#98A930 #30A97E #4130A9 #A9305B
split-complementary
#98A930 #305BA9 #7E30A9
monochromatic
#424A15 #6D7922 #98A930 #BACC4A #CCD97A

Accessibility & contrast

On white

2.61
#98A930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#98A930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A930
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A930#FFFFFF#000000##000000
##98A9301.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01B
Deuteranopia (green-blind)
#B3A13A
Tritanopia (blue-blind)
#A19F91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #98a930;
/* rgb */ color: rgb(152, 169, 48);
/* oklch */ color: oklch(69.9% 0.143 117.2);
Tailwind
colors: {
  custom: {
    50: '#b9c271',
    500: '#98a930',
    950: '#000000',
  },
}
SCSS
$custom: #98a930;
$custom-light: #b9c271;
$custom-dark: #000000;
JSON
{
  "hex": "#98a930",
  "rgb": {
    "r": 152,
    "g": 169,
    "b": 48
  },
  "hsl": {
    "h": 68.43,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69901,
    "c": 0.14293,
    "h": 117.2
  },
  "luminance": 0.35265
}

Semantic roles & 50–950 ramp

primary
#98A930
secondary
#7E73C2
accent
#49DF5E
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A930

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

Preview Lab → · Contrast checker → · Palette generator →

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