#98A829#98A829

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

Color values

HEX#98A829
RGBrgb(152, 168, 41)
HSLhsl(68, 61%, 41%)
HSVhsv(68, 76%, 66%)
CMYKcmyk(9.5%, 0%, 75.6%, 34.1%)
CIE-LABlab(65.62, -21.72, 59.18)
CIE-LCHlch(65.62, 63.04, 110.16°)
OKLaboklab(69.62% -0.0656 0.1304)
OKLCHoklch(69.62% 0.146 116.7)
XYZxyz(27.3525, 34.8411, 7.3815)
Luminance0.3484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A829 #3929A8
analogous
#A87829 #98A829 #58A829
triadic
#98A829 #2998A8 #A82998
tetradic
#98A829 #29A878 #3929A8 #A82958
square
#98A829 #29A878 #3929A8 #A82958
split-complementary
#98A829 #2958A8 #7829A8
monochromatic
#3F4611 #6B771D #98A829 #BED03E #CEDC6F

Accessibility & contrast

On white

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

On black

7.97
#98A829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A829
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A829#FFFFFF#000000##000000
##98A8291.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98a829;
/* rgb */ color: rgb(152, 168, 41);
/* oklch */ color: oklch(69.6% 0.146 116.7);
Tailwind
colors: {
  custom: {
    50: '#bac16d',
    500: '#98a829',
    950: '#000000',
  },
}
SCSS
$custom: #98a829;
$custom-light: #bac16d;
$custom-dark: #000000;
JSON
{
  "hex": "#98a829",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 41
  },
  "hsl": {
    "h": 67.559,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69623,
    "c": 0.14599,
    "h": 116.7
  },
  "luminance": 0.34841
}

Semantic roles & 50–950 ramp

primary
#98A829
secondary
#756AC3
accent
#44E458
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #98A829

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

Preview Lab → · Contrast checker → · Palette generator →

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