#98A830#98A830

#98A830 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.7% C 0.142 H 116.9°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#98A830
RGBrgb(152, 168, 48)
HSLhsl(68, 56%, 42%)
HSVhsv(68, 71%, 66%)
CMYKcmyk(9.5%, 0%, 71.4%, 34.1%)
CIE-LABlab(65.67, -21.37, 56.75)
CIE-LCHlch(65.67, 60.64, 110.63°)
OKLaboklab(69.67% -0.064 0.1265)
OKLCHoklch(69.67% 0.142 116.9)
XYZxyz(27.4857, 34.8944, 8.0831)
Luminance0.3489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A830 #4030A8
analogous
#A87C30 #98A830 #5CA830
triadic
#98A830 #3098A8 #A83098
tetradic
#98A830 #30A87C #4030A8 #A8305C
square
#98A830 #30A87C #4030A8 #A8305C
split-complementary
#98A830 #305CA8 #7C30A8
monochromatic
#424915 #6D7822 #98A830 #BACB4A #CCD97A

Accessibility & contrast

On white

2.63
#98A830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#98A830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A830
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A830#FFFFFF#000000##000000
##98A8301.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1B
Deuteranopia (green-blind)
#B2A03A
Tritanopia (blue-blind)
#A29E91
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a830;
/* rgb */ color: rgb(152, 168, 48);
/* oklch */ color: oklch(69.7% 0.142 116.9);
Tailwind
colors: {
  custom: {
    50: '#b9c170',
    500: '#98a830',
    950: '#000000',
  },
}
SCSS
$custom: #98a830;
$custom-light: #b9c170;
$custom-dark: #000000;
JSON
{
  "hex": "#98a830",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 68,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6967,
    "c": 0.14176,
    "h": 116.9
  },
  "luminance": 0.34894
}

Semantic roles & 50–950 ramp

primary
#98A830
secondary
#7D73C1
accent
#49DF5D
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A830

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

Preview Lab → · Contrast checker → · Palette generator →

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