#98A625#98A625

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

Color values

HEX#98A625
RGBrgb(152, 166, 37)
HSLhsl(67, 64%, 40%)
HSVhsv(67, 78%, 65%)
CMYKcmyk(8.4%, 0%, 77.7%, 34.9%)
CIE-LABlab(65.03, -20.90, 59.93)
CIE-LCHlch(65.03, 63.47, 109.23°)
OKLaboklab(69.14% -0.0637 0.1313)
OKLCHoklch(69.14% 0.146 115.9)
XYZxyz(26.9198, 34.0818, 6.9102)
Luminance0.3408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A625 #3325A6
analogous
#A67425 #98A625 #57A625
triadic
#98A625 #2598A6 #A62598
tetradic
#98A625 #25A674 #3325A6 #A62557
square
#98A625 #25A674 #3325A6 #A62557
split-complementary
#98A625 #2557A6 #7425A6
monochromatic
#3C420F #6A741A #98A625 #C1D236 #D1DD68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A625#FFFFFF#000000##000000
##98A6251.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)
#B29D00
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#A29C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a625;
/* rgb */ color: rgb(152, 166, 37);
/* oklch */ color: oklch(69.1% 0.146 115.9);
Tailwind
colors: {
  custom: {
    50: '#bac06b',
    500: '#98a625',
    950: '#000000',
  },
}
SCSS
$custom: #98a625;
$custom-light: #bac06b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a625",
  "rgb": {
    "r": 152,
    "g": 166,
    "b": 37
  },
  "hsl": {
    "h": 66.512,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69136,
    "c": 0.14591,
    "h": 115.9
  },
  "luminance": 0.34081
}

Semantic roles & 50–950 ramp

primary
#98A625
secondary
#6E64C3
accent
#41E753
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A625

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

Preview Lab → · Contrast checker → · Palette generator →

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