#98A535#98A535

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

Color values

HEX#98A535
RGBrgb(152, 165, 53)
HSLhsl(67, 51%, 43%)
HSVhsv(67, 68%, 65%)
CMYKcmyk(7.9%, 0%, 67.9%, 35.3%)
CIE-LABlab(64.84, -19.56, 53.98)
CIE-LCHlch(64.84, 57.42, 109.92°)
OKLaboklab(69.02% -0.0585 0.1215)
OKLCHoklch(69.02% 0.135 115.7)
XYZxyz(27.0473, 33.8431, 8.4750)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A535 #4235A5
analogous
#A57A35 #98A535 #60A535
triadic
#98A535 #3598A5 #A53598
tetradic
#98A535 #35A57A #4235A5 #A53560
square
#98A535 #35A57A #4235A5 #A53560
split-complementary
#98A535 #3560A5 #7A35A5
monochromatic
#434817 #6D7726 #98A535 #B9C750 #CCD67F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A535#FFFFFF#000000##000000
##98A5351.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)
#B09D25
Deuteranopia (green-blind)
#AF9E3D
Tritanopia (blue-blind)
#A29C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #98a535;
/* rgb */ color: rgb(152, 165, 53);
/* oklch */ color: oklch(69.0% 0.135 115.7);
Tailwind
colors: {
  custom: {
    50: '#b9bf73',
    500: '#98a535',
    950: '#000000',
  },
}
SCSS
$custom: #98a535;
$custom-light: #b9bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#98a535",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 66.964,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69016,
    "c": 0.13484,
    "h": 115.7
  },
  "luminance": 0.33843
}

Semantic roles & 50–950 ramp

primary
#98A535
secondary
#7F77BF
accent
#4DDB5D
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A535

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

Preview Lab → · Contrast checker → · Palette generator →

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