#98A526#98A526

#98A526 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.9% C 0.144 H 115.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#98A526
RGBrgb(152, 165, 38)
HSLhsl(66, 63%, 40%)
HSVhsv(66, 77%, 65%)
CMYKcmyk(7.9%, 0%, 77%, 35.3%)
CIE-LABlab(64.74, -20.35, 59.35)
CIE-LCHlch(64.74, 62.74, 108.93°)
OKLaboklab(68.91% -0.0621 0.1302)
OKLCHoklch(68.91% 0.144 115.5)
XYZxyz(26.7546, 33.7260, 6.9337)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A526 #3326A5
analogous
#A57326 #98A526 #58A526
triadic
#98A526 #2698A5 #A52698
tetradic
#98A526 #26A573 #3326A5 #A52658
square
#98A526 #26A573 #3326A5 #A52658
split-complementary
#98A526 #2658A5 #7326A5
monochromatic
#3C420F #6A731B #98A526 #C1D137 #D1DC69

Accessibility & contrast

On white

2.71
#98A526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#98A526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A526
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A526#FFFFFF#000000##000000
##98A5261.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C04
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#A29B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #98a526;
/* rgb */ color: rgb(152, 165, 38);
/* oklch */ color: oklch(68.9% 0.144 115.5);
Tailwind
colors: {
  custom: {
    50: '#babf6b',
    500: '#98a526',
    950: '#000000',
  },
}
SCSS
$custom: #98a526;
$custom-light: #babf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#98a526",
  "rgb": {
    "r": 152,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 66.142,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68911,
    "c": 0.14427,
    "h": 115.5
  },
  "luminance": 0.33726
}

Semantic roles & 50–950 ramp

primary
#98A526
secondary
#6E64C3
accent
#42E653
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A526

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

Preview Lab → · Contrast checker → · Palette generator →

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