#98A926#98A926

#98A926 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.8% C 0.149 H 117.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#98A926
RGBrgb(152, 169, 38)
HSLhsl(68, 63%, 41%)
HSVhsv(68, 78%, 66%)
CMYKcmyk(10.1%, 0%, 77.5%, 33.7%)
CIE-LABlab(65.90, -22.36, 60.41)
CIE-LCHlch(65.90, 64.41, 110.31°)
OKLaboklab(69.84% -0.0676 0.1325)
OKLCHoklch(69.84% 0.149 117)
XYZxyz(27.4874, 35.1916, 7.1780)
Luminance0.3519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A926 #3726A9
analogous
#A97826 #98A926 #57A926
triadic
#98A926 #2698A9 #A92698
tetradic
#98A926 #26A978 #3726A9 #A92657
square
#98A926 #26A978 #3726A9 #A92657
split-complementary
#98A926 #2657A9 #7826A9
monochromatic
#3E4510 #6B771B #98A926 #BFD33A #CFDE6C

Accessibility & contrast

On white

2.61
#98A926 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#98A926 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A926
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A926#FFFFFF#000000##000000
##98A9261.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#A29F91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #98a926;
/* rgb */ color: rgb(152, 169, 38);
/* oklch */ color: oklch(69.8% 0.149 117.0);
Tailwind
colors: {
  custom: {
    50: '#bac26c',
    500: '#98a926',
    950: '#000000',
  },
}
SCSS
$custom: #98a926;
$custom-light: #bac26c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a926",
  "rgb": {
    "r": 152,
    "g": 169,
    "b": 38
  },
  "hsl": {
    "h": 67.786,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69837,
    "c": 0.14874,
    "h": 117
  },
  "luminance": 0.35191
}

Semantic roles & 50–950 ramp

primary
#98A926
secondary
#7367C4
accent
#41E657
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A926

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

Preview Lab → · Contrast checker → · Palette generator →

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