#989827#989827

#989827 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.86:1 contrast (WCAG AA passes).

Color values

HEX#989827
RGBrgb(152, 152, 39)
HSLhsl(60, 59%, 37%)
HSVhsv(60, 74%, 60%)
CMYKcmyk(0%, 0%, 74.3%, 40.4%)
CIE-LABlab(61.03, -13.61, 55.54)
CIE-LCHlch(61.03, 57.19, 103.77°)
OKLaboklab(65.94% -0.0433 0.1223)
OKLCHoklch(65.94% 0.13 109.5)
XYZxyz(24.5442, 29.2791, 6.2776)
Luminance0.2928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989827 #272798
analogous
#986027 #989827 #609827
triadic
#989827 #279898 #982798
tetradic
#989827 #279860 #272798 #982760
square
#989827 #279860 #272798 #982760
split-complementary
#989827 #276098 #602798
monochromatic
#37370E #67671B #989827 #C9C933 #D7D763

Accessibility & contrast

On white

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

On black

6.86
#989827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989827
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989827#FFFFFF#000000##000000
##9898271.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989827;
/* rgb */ color: rgb(152, 152, 39);
/* oklch */ color: oklch(65.9% 0.130 109.5);
Tailwind
colors: {
  custom: {
    50: '#bab66a',
    500: '#989827',
    950: '#000000',
  },
}
SCSS
$custom: #989827;
$custom-light: #bab66a;
$custom-dark: #000000;
JSON
{
  "hex": "#989827",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65935,
    "c": 0.12977,
    "h": 109.5
  },
  "luminance": 0.29278
}

Semantic roles & 50–950 ramp

primary
#989827
secondary
#5E5EBC
accent
#45E245
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989827

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

Preview Lab → · Contrast checker → · Palette generator →

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