#98A825#98A825

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

Color values

HEX#98A825
RGBrgb(152, 168, 37)
HSLhsl(67, 64%, 40%)
HSVhsv(67, 78%, 66%)
CMYKcmyk(9.5%, 0%, 78%, 34.1%)
CIE-LABlab(65.60, -21.90, 60.45)
CIE-LCHlch(65.60, 64.30, 109.91°)
OKLaboklab(69.6% -0.0665 0.1324)
OKLCHoklch(69.6% 0.148 116.7)
XYZxyz(27.2862, 34.8146, 7.0324)
Luminance0.3481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A825 #3525A8
analogous
#A87625 #98A825 #57A825
triadic
#98A825 #2598A8 #A82598
tetradic
#98A825 #25A876 #3525A8 #A82557
square
#98A825 #25A876 #3525A8 #A82557
split-complementary
#98A825 #2557A8 #7625A8
monochromatic
#3D440F #6B761A #98A825 #C0D337 #D0DE69

Accessibility & contrast

On white

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

On black

7.96
#98A825 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A825
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A825#FFFFFF#000000##000000
##98A8251.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98a825;
/* rgb */ color: rgb(152, 168, 37);
/* oklch */ color: oklch(69.6% 0.148 116.7);
Tailwind
colors: {
  custom: {
    50: '#bac16b',
    500: '#98a825',
    950: '#000000',
  },
}
SCSS
$custom: #98a825;
$custom-light: #bac16b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a825",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 37
  },
  "hsl": {
    "h": 67.328,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.696,
    "c": 0.14814,
    "h": 116.7
  },
  "luminance": 0.34814
}

Semantic roles & 50–950 ramp

primary
#98A825
secondary
#7065C4
accent
#41E755
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A825

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

Preview Lab → · Contrast checker → · Palette generator →

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