#989826#989826

#989826 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.9% C 0.130 H 109.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#989826
RGBrgb(152, 152, 38)
HSLhsl(60, 60%, 37%)
HSVhsv(60, 75%, 60%)
CMYKcmyk(0%, 0%, 75%, 40.4%)
CIE-LABlab(61.02, -13.66, 55.89)
CIE-LCHlch(61.02, 57.53, 103.73°)
OKLaboklab(65.93% -0.0435 0.1229)
OKLCHoklch(65.93% 0.13 109.5)
XYZxyz(24.5279, 29.2726, 6.1915)
Luminance0.2927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989826 #262698
analogous
#985F26 #989826 #5F9826
triadic
#989826 #269898 #982698
tetradic
#989826 #26985F #262698 #98265F
square
#989826 #26985F #262698 #98265F
split-complementary
#989826 #265F98 #5F2698
monochromatic
#36360E #67671A #989826 #C9C932 #D7D761

Accessibility & contrast

On white

3.06
#989826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#989826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989826
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989826#FFFFFF#000000##000000
##9898261.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5910D
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#A38E82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #989826;
/* rgb */ color: rgb(152, 152, 38);
/* oklch */ color: oklch(65.9% 0.130 109.5);
Tailwind
colors: {
  custom: {
    50: '#bab66a',
    500: '#989826',
    950: '#000000',
  },
}
SCSS
$custom: #989826;
$custom-light: #bab66a;
$custom-dark: #000000;
JSON
{
  "hex": "#989826",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65929,
    "c": 0.13036,
    "h": 109.5
  },
  "luminance": 0.29272
}

Semantic roles & 50–950 ramp

primary
#989826
secondary
#5D5DBD
accent
#45E345
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989826

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

Preview Lab → · Contrast checker → · Palette generator →

#989826 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva