#98A429#98A429

#98A429 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.7% C 0.141 H 115.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#98A429
RGBrgb(152, 164, 41)
HSLhsl(66, 60%, 40%)
HSVhsv(66, 75%, 64%)
CMYKcmyk(7.3%, 0%, 75%, 35.7%)
CIE-LABlab(64.47, -19.71, 58.10)
CIE-LCHlch(64.47, 61.35, 108.74°)
OKLaboklab(68.7% -0.0601 0.1281)
OKLCHoklch(68.7% 0.141 115.1)
XYZxyz(26.6253, 33.3869, 7.1391)
Luminance0.3339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A429 #3529A4
analogous
#A47329 #98A429 #5AA429
triadic
#98A429 #2998A4 #A42998
tetradic
#98A429 #29A473 #3529A4 #A4295A
square
#98A429 #29A473 #3529A4 #A4295A
split-complementary
#98A429 #295AA4 #7329A4
monochromatic
#3D4211 #6B731D #98A429 #C0CE3C #D0DA6D

Accessibility & contrast

On white

2.74
#98A429 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#98A429 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A429
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A429#FFFFFF#000000##000000
##98A4291.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B0E
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#A29A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #98a429;
/* rgb */ color: rgb(152, 164, 41);
/* oklch */ color: oklch(68.7% 0.141 115.1);
Tailwind
colors: {
  custom: {
    50: '#babe6c',
    500: '#98a429',
    950: '#000000',
  },
}
SCSS
$custom: #98a429;
$custom-light: #babe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a429",
  "rgb": {
    "r": 152,
    "g": 164,
    "b": 41
  },
  "hsl": {
    "h": 65.854,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68698,
    "c": 0.14149,
    "h": 115.1
  },
  "luminance": 0.33386
}

Semantic roles & 50–950 ramp

primary
#98A429
secondary
#7068C1
accent
#45E354
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A429

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

Preview Lab → · Contrast checker → · Palette generator →

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