#98A724#98A724

#98A724 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.4% C 0.148 H 116.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#98A724
RGBrgb(152, 167, 36)
HSLhsl(67, 65%, 40%)
HSVhsv(67, 78%, 65%)
CMYKcmyk(9%, 0%, 78.4%, 34.5%)
CIE-LABlab(65.31, -21.44, 60.49)
CIE-LCHlch(65.31, 64.18, 109.52°)
OKLaboklab(69.36% -0.0653 0.1323)
OKLCHoklch(69.36% 0.148 116.3)
XYZxyz(27.0868, 34.4406, 6.8895)
Luminance0.3444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A724 #3324A7
analogous
#A77424 #98A724 #57A724
triadic
#98A724 #2498A7 #A72498
tetradic
#98A724 #24A774 #3324A7 #A72457
square
#98A724 #24A774 #3324A7 #A72457
split-complementary
#98A724 #2457A7 #7424A7
monochromatic
#3C420E #6A7519 #98A724 #C1D335 #D1DE67

Accessibility & contrast

On white

2.66
#98A724 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#98A724 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A724
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A724#FFFFFF#000000##000000
##98A7241.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B29F30
Tritanopia (blue-blind)
#A29D8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a724;
/* rgb */ color: rgb(152, 167, 36);
/* oklch */ color: oklch(69.4% 0.148 116.3);
Tailwind
colors: {
  custom: {
    50: '#bac16b',
    500: '#98a724',
    950: '#000000',
  },
}
SCSS
$custom: #98a724;
$custom-light: #bac16b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a724",
  "rgb": {
    "r": 152,
    "g": 167,
    "b": 36
  },
  "hsl": {
    "h": 66.87,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69363,
    "c": 0.14753,
    "h": 116.3
  },
  "luminance": 0.3444
}

Semantic roles & 50–950 ramp

primary
#98A724
secondary
#6E63C4
accent
#40E853
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A724

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

Preview Lab → · Contrast checker → · Palette generator →

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