#98A548#98A548

#98A548 is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.2% C 0.119 H 116.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#98A548
RGBrgb(152, 165, 72)
HSLhsl(68, 39%, 46%)
HSVhsv(68, 56%, 65%)
CMYKcmyk(7.9%, 0%, 56.4%, 35.3%)
CIE-LABlab(65.01, -18.16, 45.82)
CIE-LCHlch(65.01, 49.28, 111.63°)
OKLaboklab(69.2% -0.0526 0.1068)
OKLCHoklch(69.2% 0.119 116.2)
XYZxyz(27.5742, 34.0539, 11.2501)
Luminance0.3405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A548 #5548A5
analogous
#A58448 #98A548 #6AA548
triadic
#98A548 #4898A5 #A54898
tetradic
#98A548 #48A584 #5548A5 #A5486A
square
#98A548 #48A584 #5548A5 #A5486A
split-complementary
#98A548 #486AA5 #8448A5
monochromatic
#4A5023 #717A35 #98A548 #B3BF6C #C9D196

Accessibility & contrast

On white

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

On black

7.81
#98A548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A548
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A548#FFFFFF#000000##000000
##98A5481.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3E
Deuteranopia (green-blind)
#AE9E4E
Tritanopia (blue-blind)
#A09D91
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a548;
/* rgb */ color: rgb(152, 165, 72);
/* oklch */ color: oklch(69.2% 0.119 116.2);
Tailwind
colors: {
  custom: {
    50: '#b8bf7e',
    500: '#98a548',
    950: '#000000',
  },
}
SCSS
$custom: #98a548;
$custom-light: #b8bf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#98a548",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 72
  },
  "hsl": {
    "h": 68.387,
    "s": 39.241,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69204,
    "c": 0.11903,
    "h": 116.2
  },
  "luminance": 0.34054
}

Semantic roles & 50–950 ramp

primary
#98A548
secondary
#928CBD
accent
#59CF69
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #98A548

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

Preview Lab → · Contrast checker → · Palette generator →

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