#98A545#98A545

#98A545 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.2% C 0.122 H 116.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#98A545
RGBrgb(152, 165, 69)
HSLhsl(68, 41%, 46%)
HSVhsv(68, 58%, 65%)
CMYKcmyk(7.9%, 0%, 58.2%, 35.3%)
CIE-LABlab(64.97, -18.42, 47.18)
CIE-LCHlch(64.97, 50.65, 111.32°)
OKLaboklab(69.17% -0.0536 0.1093)
OKLCHoklch(69.17% 0.122 116.1)
XYZxyz(27.4787, 34.0157, 10.7472)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A545 #5245A5
analogous
#A58245 #98A545 #68A545
triadic
#98A545 #4598A5 #A54598
tetradic
#98A545 #45A582 #5245A5 #A54568
square
#98A545 #45A582 #5245A5 #A54568
split-complementary
#98A545 #4568A5 #8245A5
monochromatic
#484F21 #707A33 #98A545 #B4C068 #C9D293

Accessibility & contrast

On white

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

On black

7.80
#98A545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A545
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A545#FFFFFF#000000##000000
##98A5451.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D3B
Deuteranopia (green-blind)
#AE9E4B
Tritanopia (blue-blind)
#A19C90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #98a545;
/* rgb */ color: rgb(152, 165, 69);
/* oklch */ color: oklch(69.2% 0.122 116.1);
Tailwind
colors: {
  custom: {
    50: '#b8bf7c',
    500: '#98a545',
    950: '#000000',
  },
}
SCSS
$custom: #98a545;
$custom-light: #b8bf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a545",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 68.125,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6917,
    "c": 0.12179,
    "h": 116.1
  },
  "luminance": 0.34015
}

Semantic roles & 50–950 ramp

primary
#98A545
secondary
#9088BD
accent
#57D167
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #98A545

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

Preview Lab → · Contrast checker → · Palette generator →

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