#989823#989823

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

Color values

HEX#989823
RGBrgb(152, 152, 35)
HSLhsl(60, 63%, 37%)
HSVhsv(60, 77%, 60%)
CMYKcmyk(0%, 0%, 77%, 40.4%)
CIE-LABlab(61.01, -13.79, 56.89)
CIE-LCHlch(61.01, 58.53, 103.63°)
OKLaboklab(65.91% -0.0441 0.1244)
OKLCHoklch(65.91% 0.132 109.5)
XYZxyz(24.4814, 29.2540, 5.9468)
Luminance0.2925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989823 #232398
analogous
#985E23 #989823 #5E9823
triadic
#989823 #239898 #982398
tetradic
#989823 #23985E #232398 #98235E
square
#989823 #23985E #232398 #98235E
split-complementary
#989823 #235E98 #5E2398
monochromatic
#35350C #666618 #989823 #CACA2E #D9D95C

Accessibility & contrast

On white

3.07
#989823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##989823#FFFFFF#000000##000000
##9898231.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989823;
/* rgb */ color: rgb(152, 152, 35);
/* oklch */ color: oklch(65.9% 0.132 109.5);
Tailwind
colors: {
  custom: {
    50: '#bab668',
    500: '#989823',
    950: '#000000',
  },
}
SCSS
$custom: #989823;
$custom-light: #bab668;
$custom-dark: #000000;
JSON
{
  "hex": "#989823",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 60,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65911,
    "c": 0.13204,
    "h": 109.5
  },
  "luminance": 0.29253
}

Semantic roles & 50–950 ramp

primary
#989823
secondary
#5959BE
accent
#42E642
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989823

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

Preview Lab → · Contrast checker → · Palette generator →

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