#98A533#98A533

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

Color values

HEX#98A533
RGBrgb(152, 165, 51)
HSLhsl(67, 53%, 42%)
HSVhsv(67, 69%, 65%)
CMYKcmyk(7.9%, 0%, 69.1%, 35.3%)
CIE-LABlab(64.82, -19.68, 54.76)
CIE-LCHlch(64.82, 58.19, 109.77°)
OKLaboklab(69% -0.0591 0.1228)
OKLCHoklch(69% 0.136 115.7)
XYZxyz(27.0022, 33.8251, 8.2378)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A533 #4033A5
analogous
#A57933 #98A533 #5FA533
triadic
#98A533 #3398A5 #A53398
tetradic
#98A533 #33A579 #4033A5 #A5335F
square
#98A533 #33A579 #4033A5 #A5335F
split-complementary
#98A533 #335FA5 #7933A5
monochromatic
#424816 #6D7625 #98A533 #BAC84D #CCD67C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A533#FFFFFF#000000##000000
##98A5331.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)
#B19D21
Deuteranopia (green-blind)
#B09E3C
Tritanopia (blue-blind)
#A29C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #98a533;
/* rgb */ color: rgb(152, 165, 51);
/* oklch */ color: oklch(69.0% 0.136 115.7);
Tailwind
colors: {
  custom: {
    50: '#b9bf72',
    500: '#98a533',
    950: '#000000',
  },
}
SCSS
$custom: #98a533;
$custom-light: #b9bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#98a533",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 66.842,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68999,
    "c": 0.13626,
    "h": 115.7
  },
  "luminance": 0.33825
}

Semantic roles & 50–950 ramp

primary
#98A533
secondary
#7D75BF
accent
#4CDC5C
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A533

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

Preview Lab → · Contrast checker → · Palette generator →

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