#98A325#98A325

#98A325 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.4% C 0.143 H 114.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#98A325
RGBrgb(152, 163, 37)
HSLhsl(65, 63%, 39%)
HSVhsv(65, 77%, 64%)
CMYKcmyk(6.7%, 0%, 77.3%, 36.1%)
CIE-LABlab(64.16, -19.38, 59.13)
CIE-LCHlch(64.16, 62.23, 108.15°)
OKLaboklab(68.44% -0.0595 0.1296)
OKLCHoklch(68.44% 0.143 114.7)
XYZxyz(26.3808, 33.0038, 6.7306)
Luminance0.3300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A325 #3025A3
analogous
#A36F25 #98A325 #59A325
triadic
#98A325 #2598A3 #A32598
tetradic
#98A325 #25A36F #3025A3 #A32559
square
#98A325 #25A36F #3025A3 #A32559
split-complementary
#98A325 #2559A3 #6F25A3
monochromatic
#3B3F0E #69711A #98A325 #C3D134 #D2DC66

Accessibility & contrast

On white

2.76
#98A325 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#98A325 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A325
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A325#FFFFFF#000000##000000
##98A3251.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B02
Deuteranopia (green-blind)
#AF9D30
Tritanopia (blue-blind)
#A2998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #98a325;
/* rgb */ color: rgb(152, 163, 37);
/* oklch */ color: oklch(68.4% 0.143 114.7);
Tailwind
colors: {
  custom: {
    50: '#babe6a',
    500: '#98a325',
    950: '#000000',
  },
}
SCSS
$custom: #98a325;
$custom-light: #babe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#98a325",
  "rgb": {
    "r": 152,
    "g": 163,
    "b": 37
  },
  "hsl": {
    "h": 65.238,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68443,
    "c": 0.1426,
    "h": 114.7
  },
  "luminance": 0.33003
}

Semantic roles & 50–950 ramp

primary
#98A325
secondary
#6A62C2
accent
#42E650
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A325

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

Preview Lab → · Contrast checker → · Palette generator →

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