#98A536#98A536

#98A536 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.0% C 0.134 H 115.7°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#98A536
RGBrgb(152, 165, 54)
HSLhsl(67, 51%, 43%)
HSVhsv(67, 67%, 65%)
CMYKcmyk(7.9%, 0%, 67.3%, 35.3%)
CIE-LABlab(64.85, -19.50, 53.59)
CIE-LCHlch(64.85, 57.02, 110.00°)
OKLaboklab(69.02% -0.0582 0.1208)
OKLCHoklch(69.02% 0.134 115.7)
XYZxyz(27.0705, 33.8524, 8.5974)
Luminance0.3385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A536 #4336A5
analogous
#A57A36 #98A536 #60A536
triadic
#98A536 #3698A5 #A53698
tetradic
#98A536 #36A57A #4336A5 #A53660
square
#98A536 #36A57A #4336A5 #A53660
split-complementary
#98A536 #3660A5 #7A36A5
monochromatic
#434918 #6E7727 #98A536 #B9C652 #CBD580

Accessibility & contrast

On white

2.70
#98A536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#98A536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A536
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A536#FFFFFF#000000##000000
##98A5361.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D26
Deuteranopia (green-blind)
#AF9E3E
Tritanopia (blue-blind)
#A19C8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #98a536;
/* rgb */ color: rgb(152, 165, 54);
/* oklch */ color: oklch(69.0% 0.134 115.7);
Tailwind
colors: {
  custom: {
    50: '#b9bf73',
    500: '#98a536',
    950: '#000000',
  },
}
SCSS
$custom: #98a536;
$custom-light: #b9bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#98a536",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 54
  },
  "hsl": {
    "h": 67.027,
    "s": 50.685,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69024,
    "c": 0.13412,
    "h": 115.7
  },
  "luminance": 0.33852
}

Semantic roles & 50–950 ramp

primary
#98A536
secondary
#8078BF
accent
#4EDA5E
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A536

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

Preview Lab → · Contrast checker → · Palette generator →

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