#98A534#98A534

#98A534 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#98A534
RGBrgb(152, 165, 52)
HSLhsl(67, 52%, 43%)
HSVhsv(67, 68%, 65%)
CMYKcmyk(7.9%, 0%, 68.5%, 35.3%)
CIE-LABlab(64.83, -19.62, 54.37)
CIE-LCHlch(64.83, 57.81, 109.85°)
OKLaboklab(69.01% -0.0588 0.1222)
OKLCHoklch(69.01% 0.136 115.7)
XYZxyz(27.0245, 33.8340, 8.3551)
Luminance0.3383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A534 #4134A5
analogous
#A57A34 #98A534 #5FA534
triadic
#98A534 #3498A5 #A53498
tetradic
#98A534 #34A57A #4134A5 #A5345F
square
#98A534 #34A57A #4134A5 #A5345F
split-complementary
#98A534 #345FA5 #7A34A5
monochromatic
#424817 #6D7625 #98A534 #BAC74F #CCD67D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98A534#FFFFFF#000000##000000
##98A5341.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)
#B09D23
Deuteranopia (green-blind)
#AF9E3C
Tritanopia (blue-blind)
#A29C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #98a534;
/* rgb */ color: rgb(152, 165, 52);
/* oklch */ color: oklch(69.0% 0.136 115.7);
Tailwind
colors: {
  custom: {
    50: '#b9bf72',
    500: '#98a534',
    950: '#000000',
  },
}
SCSS
$custom: #98a534;
$custom-light: #b9bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#98a534",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 66.903,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69007,
    "c": 0.13557,
    "h": 115.7
  },
  "luminance": 0.33834
}

Semantic roles & 50–950 ramp

primary
#98A534
secondary
#7E76BF
accent
#4CDC5D
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #98A534

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

Preview Lab → · Contrast checker → · Palette generator →

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