#98A826#98A826

#98A826 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.6% C 0.148 H 116.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#98A826
RGBrgb(152, 168, 38)
HSLhsl(67, 63%, 40%)
HSVhsv(67, 77%, 66%)
CMYKcmyk(9.5%, 0%, 77.4%, 34.1%)
CIE-LABlab(65.61, -21.86, 60.14)
CIE-LCHlch(65.61, 63.99, 109.97°)
OKLaboklab(69.6% -0.0663 0.1319)
OKLCHoklch(69.6% 0.148 116.7)
XYZxyz(27.3021, 34.8210, 7.1162)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98A826 #3626A8
analogous
#A87726 #98A826 #57A826
triadic
#98A826 #2698A8 #A82698
tetradic
#98A826 #26A877 #3626A8 #A82657
square
#98A826 #26A877 #3626A8 #A82657
split-complementary
#98A826 #2657A8 #7726A8
monochromatic
#3E440F #6B761B #98A826 #BFD239 #CFDE6B

Accessibility & contrast

On white

2.64
#98A826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#98A826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98A826
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98A826#FFFFFF#000000##000000
##98A8261.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F01
Deuteranopia (green-blind)
#B2A032
Tritanopia (blue-blind)
#A29E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #98a826;
/* rgb */ color: rgb(152, 168, 38);
/* oklch */ color: oklch(69.6% 0.148 116.7);
Tailwind
colors: {
  custom: {
    50: '#bac16c',
    500: '#98a826',
    950: '#000000',
  },
}
SCSS
$custom: #98a826;
$custom-light: #bac16c;
$custom-dark: #000000;
JSON
{
  "hex": "#98a826",
  "rgb": {
    "r": 152,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 67.385,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69605,
    "c": 0.14762,
    "h": 116.7
  },
  "luminance": 0.34821
}

Semantic roles & 50–950 ramp

primary
#98A826
secondary
#7266C4
accent
#42E656
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #98A826

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

Preview Lab → · Contrast checker → · Palette generator →

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