#98A525#98A525

#98A525 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.9% C 0.145 H 115.5°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#98A525
RGBrgb(152, 165, 37)
HSLhsl(66, 63%, 40%)
HSVhsv(66, 78%, 65%)
CMYKcmyk(7.9%, 0%, 77.6%, 35.3%)
CIE-LABlab(64.74, -20.39, 59.66)
CIE-LCHlch(64.74, 63.05, 108.87°)
OKLaboklab(68.91% -0.0623 0.1307)
OKLCHoklch(68.91% 0.145 115.5)
XYZxyz(26.7387, 33.7197, 6.8499)
Luminance0.3372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A525 #3225A5
analogous
#A57225 #98A525 #58A525
triadic
#98A525 #2598A5 #A52598
tetradic
#98A525 #25A572 #3225A5 #A52558
square
#98A525 #25A572 #3225A5 #A52558
split-complementary
#98A525 #2558A5 #7225A5
monochromatic
#3C410F #6A731A #98A525 #C2D235 #D1DD67

Accessibility & contrast

On white

2.71
#98A525 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#98A525 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A525
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A525#FFFFFF#000000##000000
##98A5251.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#A29B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #98a525;
/* rgb */ color: rgb(152, 165, 37);
/* oklch */ color: oklch(68.9% 0.145 115.5);
Tailwind
colors: {
  custom: {
    50: '#babf6b',
    500: '#98a525',
    950: '#000000',
  },
}
SCSS
$custom: #98a525;
$custom-light: #babf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a525",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 37
  },
  "hsl": {
    "h": 66.094,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68905,
    "c": 0.1448,
    "h": 115.5
  },
  "luminance": 0.33719
}

Semantic roles & 50–950 ramp

primary
#98A525
secondary
#6D63C3
accent
#41E652
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A525

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

Preview Lab → · Contrast checker → · Palette generator →

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