#98A628#98A628

#98A628 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.2% C 0.144 H 115.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#98A628
RGBrgb(152, 166, 40)
HSLhsl(67, 61%, 40%)
HSVhsv(67, 76%, 65%)
CMYKcmyk(8.4%, 0%, 75.9%, 34.9%)
CIE-LABlab(65.04, -20.77, 58.97)
CIE-LCHlch(65.04, 62.52, 109.40°)
OKLaboklab(69.15% -0.0631 0.1298)
OKLCHoklch(69.15% 0.144 115.9)
XYZxyz(26.9688, 34.1015, 7.1686)
Luminance0.3410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A628 #3628A6
analogous
#A67528 #98A628 #59A628
triadic
#98A628 #2898A6 #A62898
tetradic
#98A628 #28A675 #3628A6 #A62859
square
#98A628 #28A675 #3628A6 #A62859
split-complementary
#98A628 #2859A6 #7528A6
monochromatic
#3E4310 #6B751C #98A628 #BFD03B #CFDC6D

Accessibility & contrast

On white

2.69
#98A628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#98A628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A628
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A628#FFFFFF#000000##000000
##98A6281.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D09
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#A29C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a628;
/* rgb */ color: rgb(152, 166, 40);
/* oklch */ color: oklch(69.2% 0.144 115.9);
Tailwind
colors: {
  custom: {
    50: '#bac06c',
    500: '#98a628',
    950: '#000000',
  },
}
SCSS
$custom: #98a628;
$custom-light: #bac06c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a628",
  "rgb": {
    "r": 152,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 66.667,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69154,
    "c": 0.1443,
    "h": 115.9
  },
  "luminance": 0.34101
}

Semantic roles & 50–950 ramp

primary
#98A628
secondary
#7267C2
accent
#44E455
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A628

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

Preview Lab → · Contrast checker → · Palette generator →

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