#98A824#98A824

#98A824 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.6% C 0.149 H 116.6°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#98A824
RGBrgb(152, 168, 36)
HSLhsl(67, 65%, 40%)
HSVhsv(67, 79%, 66%)
CMYKcmyk(9.5%, 0%, 78.6%, 34.1%)
CIE-LABlab(65.60, -21.94, 60.76)
CIE-LCHlch(65.60, 64.60, 109.86°)
OKLaboklab(69.59% -0.0667 0.1329)
OKLCHoklch(69.59% 0.149 116.6)
XYZxyz(27.2707, 34.8084, 6.9508)
Luminance0.3481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A824 #3424A8
analogous
#A87624 #98A824 #56A824
triadic
#98A824 #2498A8 #A82498
tetradic
#98A824 #24A876 #3424A8 #A82456
square
#98A824 #24A876 #3424A8 #A82456
split-complementary
#98A824 #2456A8 #7624A8
monochromatic
#3D430E #6A7619 #98A824 #C1D435 #D0DF68

Accessibility & contrast

On white

2.64
#98A824 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#98A824 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A824
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A824#FFFFFF#000000##000000
##98A8241.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B3A031
Tritanopia (blue-blind)
#A29E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a824;
/* rgb */ color: rgb(152, 168, 36);
/* oklch */ color: oklch(69.6% 0.149 116.6);
Tailwind
colors: {
  custom: {
    50: '#bac16b',
    500: '#98a824',
    950: '#000000',
  },
}
SCSS
$custom: #98a824;
$custom-light: #bac16b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a824",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 36
  },
  "hsl": {
    "h": 67.273,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.69594,
    "c": 0.14864,
    "h": 116.6
  },
  "luminance": 0.34808
}

Semantic roles & 50–950 ramp

primary
#98A824
secondary
#6F63C4
accent
#40E854
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A824

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

Preview Lab → · Contrast checker → · Palette generator →

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